diff options
| author | Martin Dalecki <dalecki@evision-ventures.com> | 2002-04-12 02:23:31 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-04-12 02:23:31 -0700 |
| commit | 6a0b3e79799ad7845f56db07ac788be5ecf38d7a (patch) | |
| tree | 38124cedf6a623142692c9d2805a8d00d72df6b0 /include/linux/ide.h | |
| parent | 78cb05ebc20c28347f986d4379254d4aac240b32 (diff) | |
[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.
Diffstat (limited to 'include/linux/ide.h')
| -rw-r--r-- | include/linux/ide.h | 8 |
1 files changed, 3 insertions, 5 deletions
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); |
