diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:26 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:26 -0400 |
commit | 349d12a1fe57d49287a539909cf14f362634342d (patch) | |
tree | 632b6f33a0424db5507ac099aa7292daa7902f26 /include/linux/ide.h | |
parent | d93bc4521c80e9d87767779814e88f6d725453d7 (diff) |
ide-floppy: use ide_pio_bytes()
* Fix ide_init_sg_cmd() setup for non-fs requests.
* Convert ide_pc_intr() to use ide_pio_bytes() for floppy media.
* Remove no longer needed ide_io_buffers() and sg/sg_cnt fields
from struct ide_atapi_pc.
* Remove partial completions; kill idefloppy_update_buffers(), as a
result.
* Add some more debugging statements.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-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 0f48fbd46028..836c4c6cb7e3 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -415,9 +415,6 @@ struct ide_atapi_pc { | |||
415 | struct idetape_bh *bh; | 415 | struct idetape_bh *bh; |
416 | char *b_data; | 416 | char *b_data; |
417 | 417 | ||
418 | struct scatterlist *sg; | ||
419 | unsigned int sg_cnt; | ||
420 | |||
421 | unsigned long timeout; | 418 | unsigned long timeout; |
422 | }; | 419 | }; |
423 | 420 | ||
@@ -1177,8 +1174,6 @@ void ide_tf_read(ide_drive_t *, struct ide_cmd *); | |||
1177 | void ide_input_data(ide_drive_t *, struct ide_cmd *, void *, unsigned int); | 1174 | void ide_input_data(ide_drive_t *, struct ide_cmd *, void *, unsigned int); |
1178 | void ide_output_data(ide_drive_t *, struct ide_cmd *, void *, unsigned int); | 1175 | void ide_output_data(ide_drive_t *, struct ide_cmd *, void *, unsigned int); |
1179 | 1176 | ||
1180 | int ide_io_buffers(ide_drive_t *, struct ide_atapi_pc *, unsigned int, int); | ||
1181 | |||
1182 | extern void SELECT_DRIVE(ide_drive_t *); | 1177 | extern void SELECT_DRIVE(ide_drive_t *); |
1183 | void SELECT_MASK(ide_drive_t *, int); | 1178 | void SELECT_MASK(ide_drive_t *, int); |
1184 | 1179 | ||