diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index d36f155470a4..b33080675f6b 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -156,7 +156,7 @@ static void idefloppy_update_buffers(ide_drive_t *drive, | |||
156 | idefloppy_end_request(drive, 1, 0); | 156 | idefloppy_end_request(drive, 1, 0); |
157 | } | 157 | } |
158 | 158 | ||
159 | static void ide_floppy_callback(ide_drive_t *drive) | 159 | static void ide_floppy_callback(ide_drive_t *drive, int dsc) |
160 | { | 160 | { |
161 | idefloppy_floppy_t *floppy = drive->driver_data; | 161 | idefloppy_floppy_t *floppy = drive->driver_data; |
162 | struct ide_atapi_pc *pc = floppy->pc; | 162 | struct ide_atapi_pc *pc = floppy->pc; |
@@ -223,7 +223,7 @@ static ide_startstop_t idefloppy_pc_intr(ide_drive_t *drive) | |||
223 | 223 | ||
224 | return ide_pc_intr(drive, floppy->pc, idefloppy_pc_intr, | 224 | return ide_pc_intr(drive, floppy->pc, idefloppy_pc_intr, |
225 | WAIT_FLOPPY_CMD, NULL, idefloppy_update_buffers, | 225 | WAIT_FLOPPY_CMD, NULL, idefloppy_update_buffers, |
226 | idefloppy_retry_pc, NULL, ide_io_buffers); | 226 | idefloppy_retry_pc, ide_io_buffers); |
227 | } | 227 | } |
228 | 228 | ||
229 | /* | 229 | /* |
@@ -308,7 +308,7 @@ static ide_startstop_t idefloppy_issue_pc(ide_drive_t *drive, | |||
308 | pc->error = IDEFLOPPY_ERROR_GENERAL; | 308 | pc->error = IDEFLOPPY_ERROR_GENERAL; |
309 | 309 | ||
310 | floppy->failed_pc = NULL; | 310 | floppy->failed_pc = NULL; |
311 | drive->pc_callback(drive); | 311 | drive->pc_callback(drive, 0); |
312 | return ide_stopped; | 312 | return ide_stopped; |
313 | } | 313 | } |
314 | 314 | ||