public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Arun Sharma <arun.sharma@intel.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] disable legacy floppy related ioctl32s
Date: Wed, 01 Oct 2003 00:01:31 +0000	[thread overview]
Message-ID: <marc-linux-ia64-106496695204846@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106495318021597@msgid-missing>

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

Arun Sharma wrote:
> http://marc.theaimsgroup.com/?t=106015010700002&r=1&w=2
> 
> depends on ISA || M68K || SPARC64
> 
> seems to be what was suggested in the thread, but I didn't see a patch. 
> I also agree that the check should be in one place (KConfig). Will send 
> a new patch.

Here's the new patch. It should probably go to LKML now.

	-Arun

[-- Attachment #2: ioctl32-floppy.patch --]
[-- Type: text/plain, Size: 995 bytes --]

Index: linux-2.6/drivers/block/Kconfig
===================================================================
--- linux-2.6/drivers/block/Kconfig	(revision 13274)
+++ linux-2.6/drivers/block/Kconfig	(working copy)
@@ -6,7 +6,7 @@
 
 config BLK_DEV_FD
 	tristate "Normal floppy disk support"
-	depends on !X86_PC9800
+	depends on ISA || M68K || SPARC64
 	---help---
 	  If you want to use the floppy disk drive(s) of your PC under Linux,
 	  say Y. Information about this driver, especially important for IBM
Index: linux-2.6/include/linux/compat_ioctl.h
===================================================================
--- linux-2.6/include/linux/compat_ioctl.h	(revision 13274)
+++ linux-2.6/include/linux/compat_ioctl.h	(working copy)
@@ -68,7 +68,7 @@
 COMPATIBLE_IOCTL(HDIO_DRIVE_CMD)
 COMPATIBLE_IOCTL(HDIO_SET_PIO_MODE)
 COMPATIBLE_IOCTL(HDIO_SET_NICE)
-#ifndef CONFIG_ARCH_S390
+#ifdef CONFIG_BLK_DEV_FD
 /* 0x02 -- Floppy ioctls */
 COMPATIBLE_IOCTL(FDMSGON)
 COMPATIBLE_IOCTL(FDMSGOFF)

  parent reply	other threads:[~2003-10-01  0:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-30 20:16 [PATCH] disable legacy floppy related ioctl32s Arun Sharma
2003-09-30 20:55 ` Bjorn Helgaas
2003-09-30 21:01 ` Randy.Dunlap
2003-09-30 22:10 ` Bjorn Helgaas
2003-09-30 22:14 ` Randy.Dunlap
2003-09-30 22:18 ` Arun Sharma
2003-10-01  0:01 ` Arun Sharma [this message]
2003-10-01  1:19 ` Matthew Wilcox

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=marc-linux-ia64-106496695204846@msgid-missing \
    --to=arun.sharma@intel.com \
    --cc=linux-ia64@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