lkml.org 
[lkml]   [2001]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ide-probe does not set removable flag for ide-floppy devices
Date
Small patch, relative to 2.4.17-pre8, but should apply to any recent version

diff -urN -X dontdiff linux/drivers/ide/ide-probe.c
linux-new/drivers/ide/ide-probe.c
--- linux/drivers/ide/ide-probe.c Wed Dec 12 11:01:24 2001
+++ linux-new/drivers/ide/ide-probe.c Sun Dec 9 11:41:15 2001
@@ -122,6 +122,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:14    [W:0.049 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site