[SG] Update drivers to use sg helpers

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Esse commit está contido em:
Jens Axboe
2007-10-22 21:19:53 +02:00
commit 45711f1af6
82 arquivos alterados com 278 adições e 275 exclusões

Ver arquivo

@@ -261,7 +261,7 @@ static void ide_pio_sector(ide_drive_t *drive, unsigned int write)
hwif->cursg = sg;
}
page = cursg->page;
page = sg_page(cursg);
offset = cursg->offset + hwif->cursg_ofs * SECTOR_SIZE;
/* get the current page and offset */