Messages in this thread Patch in this message | | | Date | Tue, 22 Oct 2002 22:31:01 +0200 | From | Paul Bristow <> | Subject | [PATCH] Mark ide-floppy drives as removeable in ide-probe.c |
| |
The following patch marks ide-floppy drives as removeable. devfs and partition handling code needs this to work properly. Please apply.
--
Paul
Email: paul@paulbristow.net Web: http://paulbristow.net ICQ: 11965223
--- linux-2.5.44/drivers/ide/ide-probe.c.orig Tue Oct 22 23:26:31 2002 +++ linux-2.5.44/drivers/ide/ide-probe.c Tue Oct 22 23:22:27 2002 @@ -166,6 +166,7 @@ printk("cdrom or floppy?, assuming "); if (drive->media != ide_cdrom) { printk ("FLOPPY"); + drive->removable = 1; break; } }
- 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/
| |