aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:32 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:32 -0400
commit85e39035ca381846b031690f4d1ac1f0660da0a2 (patch)
treeebdf6b4b173e3e11ce876b8b7b91651a60945f91 /drivers/scsi
parent6b0da28b2d0f4f4e2c55689fc062db569075ff60 (diff)
ide: add ->pc_{update,io}_buffers methods
Add ->pc_{update,io}_buffers methods to ide_drive_t and use them instead of {update,io}_buffers ide_pc_intr() arguments. There should be no functional changes caused by this patch. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ide-scsi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c
index ff2b19909838..b4ba40436c4f 100644
--- a/drivers/scsi/ide-scsi.c
+++ b/drivers/scsi/ide-scsi.c
@@ -275,7 +275,7 @@ static int idescsi_end_request (ide_drive_t *drive, int uptodate, int nrsecs)
275 */ 275 */
276static ide_startstop_t idescsi_pc_intr (ide_drive_t *drive) 276static ide_startstop_t idescsi_pc_intr (ide_drive_t *drive)
277{ 277{
278 return ide_pc_intr(drive, idescsi_pc_intr, NULL, ide_io_buffers); 278 return ide_pc_intr(drive, idescsi_pc_intr);
279} 279}
280 280
281static ide_startstop_t idescsi_transfer_pc(ide_drive_t *drive) 281static ide_startstop_t idescsi_transfer_pc(ide_drive_t *drive)
@@ -407,7 +407,9 @@ static void idescsi_setup (ide_drive_t *drive, idescsi_scsi_t *scsi)
407 set_bit(IDESCSI_LOG_CMD, &scsi->log); 407 set_bit(IDESCSI_LOG_CMD, &scsi->log);
408#endif /* IDESCSI_DEBUG_LOG */ 408#endif /* IDESCSI_DEBUG_LOG */
409 409
410 drive->pc_callback = ide_scsi_callback; 410 drive->pc_callback = ide_scsi_callback;
411 drive->pc_update_buffers = NULL;
412 drive->pc_io_buffers = ide_io_buffers;
411 413
412 ide_proc_register_driver(drive, scsi->driver); 414 ide_proc_register_driver(drive, scsi->driver);
413} 415}