mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Bristow <paul@paulbristow.net>
To: Jens Axboe <axboe@suse.de>,
	Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Mark ide-floppy drives as removeable in ide-probe.c
Date: Tue, 22 Oct 2002 22:31:01 +0200	[thread overview]
Message-ID: <3DB5B585.2060105@paulbristow.net> (raw)

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



             reply	other threads:[~2002-10-22 20:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-22 20:31 Paul Bristow [this message]
2002-10-22 21:20 ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DB5B585.2060105@paulbristow.net \
    --to=paul@paulbristow.net \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®