diff options
Diffstat (limited to 'drivers/block/floppy.c')
-rw-r--r-- | drivers/block/floppy.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c index 3f1b38276e96..5231ed7e723f 100644 --- a/drivers/block/floppy.c +++ b/drivers/block/floppy.c | |||
@@ -297,17 +297,17 @@ static int initialising = 1; | |||
297 | #define DRS (&drive_state[current_drive]) | 297 | #define DRS (&drive_state[current_drive]) |
298 | #define DRWE (&write_errors[current_drive]) | 298 | #define DRWE (&write_errors[current_drive]) |
299 | #define FDCS (&fdc_state[fdc]) | 299 | #define FDCS (&fdc_state[fdc]) |
300 | #define CLEARF(x) (clear_bit(x##_BIT, &DRS->flags)) | 300 | #define CLEARF(x) clear_bit(x##_BIT, &DRS->flags) |
301 | #define SETF(x) (set_bit(x##_BIT, &DRS->flags)) | 301 | #define SETF(x) set_bit(x##_BIT, &DRS->flags) |
302 | #define TESTF(x) (test_bit(x##_BIT, &DRS->flags)) | 302 | #define TESTF(x) test_bit(x##_BIT, &DRS->flags) |
303 | 303 | ||
304 | #define UDP (&drive_params[drive]) | 304 | #define UDP (&drive_params[drive]) |
305 | #define UDRS (&drive_state[drive]) | 305 | #define UDRS (&drive_state[drive]) |
306 | #define UDRWE (&write_errors[drive]) | 306 | #define UDRWE (&write_errors[drive]) |
307 | #define UFDCS (&fdc_state[FDC(drive)]) | 307 | #define UFDCS (&fdc_state[FDC(drive)]) |
308 | #define UCLEARF(x) (clear_bit(x##_BIT, &UDRS->flags)) | 308 | #define UCLEARF(x) clear_bit(x##_BIT, &UDRS->flags) |
309 | #define USETF(x) (set_bit(x##_BIT, &UDRS->flags)) | 309 | #define USETF(x) set_bit(x##_BIT, &UDRS->flags) |
310 | #define UTESTF(x) (test_bit(x##_BIT, &UDRS->flags)) | 310 | #define UTESTF(x) test_bit(x##_BIT, &UDRS->flags) |
311 | 311 | ||
312 | #define DPRINT(format, args...) printk(DEVICE_NAME "%d: " format, current_drive , ## args) | 312 | #define DPRINT(format, args...) printk(DEVICE_NAME "%d: " format, current_drive , ## args) |
313 | 313 | ||