mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Mark ide-floppy drives as removeable in ide-probe.c
@ 2002-10-22 20:31 Paul Bristow
  2002-10-22 21:20 ` Alan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Bristow @ 2002-10-22 20:31 UTC (permalink / raw)
  To: Jens Axboe, Bartlomiej Zolnierkiewicz; +Cc: Kernel Mailing List

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;
                     }
                 }



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Mark ide-floppy drives as removeable in ide-probe.c
  2002-10-22 20:31 [PATCH] Mark ide-floppy drives as removeable in ide-probe.c Paul Bristow
@ 2002-10-22 21:20 ` Alan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2002-10-22 21:20 UTC (permalink / raw)
  To: Paul Bristow
  Cc: Jens Axboe, Bartlomiej Zolnierkiewicz, Linux Kernel Mailing List

On Tue, 2002-10-22 at 21:31, Paul Bristow wrote:
> The following patch marks ide-floppy drives as removeable.  devfs and 
> partition handling code needs this to work properly.  Please apply.

Applied


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-22 20:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-22 20:31 [PATCH] Mark ide-floppy drives as removeable in ide-probe.c Paul Bristow
2002-10-22 21:20 ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®