From: Bartlomiej Zolnierkiewicz Date: Fri, 27 Mar 2009 11:46:47 +0000 (+0100) Subject: ide: keep track of number of bytes instead of sectors in struct ide_cmd X-Git-Tag: v2.6.30-rc1~623^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf717c0a2e18dbe82eeb28e57b0abede3cdf45d6;p=pandora-kernel.git ide: keep track of number of bytes instead of sectors in struct ide_cmd * Pass number of bytes instead of sectors to ide_init_sg_cmd(). * Pass number of bytes to process to ide_pio_sector() and rename it to ide_pio_bytes(). * Rename ->nsect field to ->nbytes in struct ide_cmd and use ->nbytes, ->nleft and ->cursg_ofs to keep track of number of bytes instead of sectors. There should be no functional changes caused by this patch. Acked-by: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed