aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 18:22:47 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2009-03-24 18:22:47 -0400
commit327fa1c29466b8fe471a91fc11e9c6171163c81a (patch)
tree9dbbf65c886d5ec68299d563da0cd7df8b97c324 /include/linux
parent122f06f8bce406169d61242a3eb667027e27cca7 (diff)
ide: move error handling code to ide-eh.c (v2)
Do some CodingStyle fixups in <linux/ide.h> while at it. v2: Add missing <linux/delay.h> include (reported by Stephen Rothwell). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ide.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 323c3710fbf4..0c87ed52a875 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1146,11 +1146,14 @@ int generic_ide_ioctl(ide_drive_t *, struct block_device *, unsigned, unsigned l
1146extern int ide_vlb_clk; 1146extern int ide_vlb_clk;
1147extern int ide_pci_clk; 1147extern int ide_pci_clk;
1148 1148
1149extern int ide_end_request (ide_drive_t *drive, int uptodate, int nrsecs); 1149int ide_end_request(ide_drive_t *, int, int);
1150int ide_end_dequeued_request(ide_drive_t *drive, struct request *rq, 1150int ide_end_dequeued_request(ide_drive_t *, struct request *, int, int);
1151 int uptodate, int nr_sectors); 1151void ide_kill_rq(ide_drive_t *, struct request *);
1152 1152
1153extern void ide_set_handler (ide_drive_t *drive, ide_handler_t *handler, unsigned int timeout, ide_expiry_t *expiry); 1153void __ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int,
1154 ide_expiry_t *);
1155void ide_set_handler(ide_drive_t *, ide_handler_t *, unsigned int,
1156 ide_expiry_t *);
1154 1157
1155void ide_execute_command(ide_drive_t *, u8, ide_handler_t *, unsigned int, 1158void ide_execute_command(ide_drive_t *, u8, ide_handler_t *, unsigned int,
1156 ide_expiry_t *); 1159 ide_expiry_t *);