|
@@ -49,6 +49,10 @@
|
|
|
|
|
|
#include "ide-floppy.h"
|
|
|
|
|
|
+/* module parameters */
|
|
|
+static unsigned long debug_mask;
|
|
|
+module_param(debug_mask, ulong, 0644);
|
|
|
+
|
|
|
/* define to see debug info */
|
|
|
#define IDEFLOPPY_DEBUG_LOG 0
|
|
|
|
|
@@ -889,6 +893,8 @@ static int ide_floppy_probe(ide_drive_t *drive)
|
|
|
|
|
|
drive->driver_data = floppy;
|
|
|
|
|
|
+ drive->debug_mask = debug_mask;
|
|
|
+
|
|
|
idefloppy_setup(drive, floppy);
|
|
|
|
|
|
g->minors = 1 << PARTN_BITS;
|