lkml.org 
[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [W:0.471 / U:0.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site