diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2004-10-20 23:10:23 +0200 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@trik.(none)> | 2004-10-20 23:10:23 +0200 |
| commit | 01b81c2d5b185e19e828c53d284fe5c1b1fb8232 (patch) | |
| tree | b2a5e042b233a4a99b2c6562e147dad534f8fd9b /include/linux | |
| parent | cce7fdab86cb2ec04264121be6da7569b9e49fb3 (diff) | |
[ide] unify PIO code
Use PIO code from ide-taskfile.c in ide-disk.c so:
* drive status is checked after PIO read
* request is failed if invalid data phase
is detected during PIO write
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ide.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index a5482c0bcd0b..10d947f64cb2 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -1354,11 +1354,6 @@ extern void atapi_output_bytes(ide_drive_t *, void *, u32); extern void taskfile_input_data(ide_drive_t *, void *, u32); extern void taskfile_output_data(ide_drive_t *, void *, u32); -void ide_pio_sector(ide_drive_t *, unsigned int); -void ide_pio_multi(ide_drive_t *, unsigned int); - -ide_startstop_t task_error(ide_drive_t *, struct request *, const char *, u8); - extern int drive_is_ready(ide_drive_t *); extern int wait_for_ready(ide_drive_t *, int /* timeout */); |
