| To: | Richard Gooch <rgooch@xxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: dsvfs & ide-floppy ? |
| From: | Martin Wilck <Martin.Wilck@xxxxxxxxxxxxxxxxxxx> |
| Date: | Fri, 27 Jul 2001 18:23:33 +0200 (CEST) |
| Cc: | Martin Wilck <Martin.Wilck@xxxxxxxxxxxxxxxxxxx>, devfs mailing list <devfs@xxxxxxxxxxx> |
| In-reply-to: | <200107271530.f6RFUf803340@mobilix.ras.ucalgary.ca> |
| Sender: | owner-devfs@xxxxxxxxxxx |
On Fri, 27 Jul 2001, Richard Gooch wrote:
> > I found that ide-probe.c fails to set the "removable" flag of the
> > device, and hoped that fixing this would solve the
> > problem. Unfortunately that's not the case.
>
> Can you send a patch so I can see exactly what you did?
It's rather trivial :-)
--- 2.4.7/drivers/ide/ide-probe.c.orig Fri Jul 27 15:51:21 2001
+++ 2.4.7/drivers/ide/ide-probe.c Fri Jul 27 15:51:24 2001
@@ -122,6 +122,7 @@
printk("cdrom or floppy?,
assuming ");
if (drive->media != ide_cdrom) {
printk ("FLOPPY");
+ drive->removable = 1;
break;
}
}
Martin
--
Martin Wilck <Martin.Wilck@xxxxxxxxxxxxxxxxxxx>
FSC EP PS DS1, Paderborn Tel. +49 5251 8 15113
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: dsvfs & ide-floppy ?, Richard Gooch |
|---|---|
| Next by Date: | [PATCH]: ide-floppy & devfs, Martin Wilck |
| Previous by Thread: | Re: dsvfs & ide-floppy ?, Richard Gooch |
| Next by Thread: | Re: dsvfs & ide-floppy ?, Martin Wilck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |