[PATCH 2.5.66-ac1] Update PC-9800 support (3/3) floppy driver

From: Osamu Tomita (tomita@cinet.co.jp)
Date: Mon Mar 31 2003 - 11:24:59 EST


This is the update patch for NEC PC-9800 subarchitecture
against 2.5.66-ac1. (3/3)
Please apply.

Update floppy driver for PC-98 to syncronize with floppy.c in 2.5.66.

diff -Nru linux-2.5.66-ac1/drivers/block/floppy98.c linux98-2.5.66-ac1/drivers/block/floppy98.c
--- linux-2.5.66-ac1/drivers/block/floppy98.c 2003-03-28 08:40:11.000000000 +0900
+++ linux98-2.5.66-ac1/drivers/block/floppy98.c 2003-03-25 09:13:24.000000000 +0900
@@ -3727,6 +3727,8 @@
                                 name = default_drive_params[type].name;
                                 allowed_drive_mask |= 1 << drive;
                         }
+ else
+ allowed_drive_mask &= ~(1 << drive);
                 } else {
                         params = &default_drive_params[0].params;
                         sprintf(temparea, "unknown type %d (usb?)", type);

Regards,
Osamu Tomita

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:36 EST