From 6a0b3e79799ad7845f56db07ac788be5ecf38d7a Mon Sep 17 00:00:00 2001 From: Martin Dalecki Date: Fri, 12 Apr 2002 02:23:31 -0700 Subject: [PATCH] 2.5.8-pre3 IDE 32 - Don't provide symbolic links in /proc/ide - they are redundant data. - Try to use a more reasonable default capacity value in ata_capacity(). - Fix ata_put() ata_get() usage in ide_check_media_change(). - Small readability fixes to the option parsing code. - Apply Vojtech Pavliks /proc PIIX output fix. - Replace all occurrences of ide_wait_taskfile() with ide_raw_taskfile(). One duplicated code path fewer. --- include/linux/ide.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include/linux/ide.h') diff --git a/include/linux/ide.h b/include/linux/ide.h index 741778d2bd6a..1c4783c1f00b 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -858,16 +858,14 @@ extern ide_startstop_t set_geometry_intr(ide_drive_t *drive); extern ide_startstop_t set_multmode_intr(ide_drive_t *drive); extern ide_startstop_t task_no_data_intr(ide_drive_t *drive); -int ide_wait_taskfile (ide_drive_t *drive, struct hd_drive_task_hdr *taskfile, struct hd_drive_hob_hdr *hobfile, byte *buf); - -int ide_raw_taskfile (ide_drive_t *drive, struct ata_taskfile *cmd, byte *buf); /* This is setting up all fields in args, which depend upon the command type. */ extern void ide_cmd_type_parser(struct ata_taskfile *args); +extern int ide_raw_taskfile(ide_drive_t *drive, struct ata_taskfile *cmd, byte *buf); -int ide_cmd_ioctl (ide_drive_t *drive, struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); -int ide_task_ioctl (ide_drive_t *drive, struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); +extern int ide_cmd_ioctl(ide_drive_t *drive, struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); +extern int ide_task_ioctl(ide_drive_t *drive, struct inode *inode, struct file *file, unsigned int cmd, unsigned long arg); void ide_delay_50ms (void); -- cgit v1.2.3