linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tighten ATA kconfig dependancies
@ 2006-07-15  5:34 Dave Jones
  2006-07-15  5:49 ` Arjan van de Ven
  2006-07-24  3:05 ` Alan Cox
  0 siblings, 2 replies; 13+ messages in thread
From: Dave Jones @ 2006-07-15  5:34 UTC (permalink / raw)
  To: linux-ide; +Cc: Linux Kernel

A lot of prehistoric junk shows up on x86-64 configs.

cmd640
- no-one in their right mind would use this on x86-32, let alone x86-64.

rz1000
- doesn't exist in 64bit form.

compaq triflex
- ditto

CY82C693
- unsure, really alpha only?

CS5520/CS5530/CS5535/SC1200
- 32bit only.

NS87415
- claims to be sparc/parisc only.

Serverworks
- AFAIK, OSB4/CSB5/CSB6 never showed up in 64bit form.
  (Maybe there is a god)

Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6.17.noarch/drivers/ide/Kconfig~	2006-07-15 01:24:18.000000000 -0400
+++ linux-2.6.17.noarch/drivers/ide/Kconfig	2006-07-15 01:29:47.000000000 -0400
@@ -282,7 +282,7 @@ config IDE_GENERIC
 
 config BLK_DEV_CMD640
 	bool "CMD640 chipset bugfix/support"
-	depends on X86
+	depends on X86_32
 	---help---
 	  The CMD-Technologies CMD640 IDE chip is used on many common 486 and
 	  Pentium motherboards, usually in combination with a "Neptune" or
@@ -377,7 +377,7 @@ config BLK_DEV_OPTI621
 
 config BLK_DEV_RZ1000
 	tristate "RZ1000 chipset bugfix/support"
-	depends on PCI && BLK_DEV_IDEPCI && X86
+	depends on PCI && BLK_DEV_IDEPCI && X86_32
 	help
 	  The PC-Technologies RZ1000 IDE chip is used on many common 486 and
 	  Pentium motherboards, usually along with the "Neptune" chipset.
@@ -508,12 +508,14 @@ config BLK_DEV_CMD64X
 
 config BLK_DEV_TRIFLEX
 	tristate "Compaq Triflex IDE support"
+	depends on X86_32
 	help
 	  Say Y here if you have a Compaq Triflex IDE controller, such
 	  as those commonly found on Compaq Pentium-Pro systems
 
 config BLK_DEV_CY82C693
 	tristate "CY82C693 chipset support"
+	depends on ALPHA
 	help
 	  This driver adds detection and support for the CY82C693 chipset
 	  used on Digital's PC-Alpha 164SX boards.
@@ -523,7 +525,7 @@ config BLK_DEV_CY82C693
 
 config BLK_DEV_CS5520
 	tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
-	depends on EXPERIMENTAL
+	depends on X86_32 && EXPERIMENTAL
 	help
 	  Include support for PIO tuning and virtual DMA on the Cyrix MediaGX
 	  5510/5520 chipset. This will automatically be detected and
@@ -533,6 +535,7 @@ config BLK_DEV_CS5520
 
 config BLK_DEV_CS5530
 	tristate "Cyrix/National Semiconductor CS5530 MediaGX chipset support"
+	depends on X86_32
 	help
 	  Include support for UDMA on the Cyrix MediaGX 5530 chipset. This
 	  will automatically be detected and configured if found.
@@ -541,7 +544,7 @@ config BLK_DEV_CS5530
 
 config BLK_DEV_CS5535
 	tristate "AMD CS5535 chipset support"
-	depends on X86 && !X86_64
+	depends on X86_32
 	help
 	  Include support for UDMA on the NSC/AMD CS5535 companion chipset.
 	  This will automatically be detected and configured if found.
@@ -594,6 +597,7 @@ config BLK_DEV_HPT366
 
 config BLK_DEV_SC1200
 	tristate "National SCx200 chipset support"
+	depends on X86_32
 	help
 	  This driver adds support for the built in IDE on the National
 	  SCx200 series of embedded x86 "Geode" systems
@@ -623,6 +627,7 @@ config BLK_DEV_IT821X
 
 config BLK_DEV_NS87415
 	tristate "NS87415 chipset support"
+	depends on SPARC64 || PARISC
 	help
 	  This driver adds detection and support for the NS87415 chip
 	  (used mainly on SPARC64 and PA-RISC machines).
@@ -675,6 +680,7 @@ config BLK_DEV_PDC202XX_NEW
 
 config BLK_DEV_SVWKS
 	tristate "ServerWorks OSB4/CSB5/CSB6 chipsets support"
+	depends on X86_32
 	help
 	  This driver adds PIO/(U)DMA support for the ServerWorks OSB4/CSB5
 	  chipsets.
-- 
http://www.codemonkey.org.uk

^ permalink raw reply	[flat|nested] 13+ messages in thread
[parent not found: <6yL2J-7rR-1@gated-at.bofh.it>]
* Re: tighten ATA kconfig dependancies
@ 2006-07-16 18:14 Randy Dunlap
  0 siblings, 0 replies; 13+ messages in thread
From: Randy Dunlap @ 2006-07-16 18:14 UTC (permalink / raw)
  To: Adrian Bunk, Arjan van de Ven, Sam Ravnborg, Dave Jones,
	linux-ide, Linux Kernel, Andrew Morton



> On Sat, Jul 15, 2006 at 08:45:56AM +0200, Arjan van de Ven wrote:
> > On Sat, 2006-07-15 at 08:38 +0200, Sam Ravnborg wrote:
> > > On Sat, Jul 15, 2006 at 07:49:08AM +0200, Arjan van de Ven wrote:
> > > > On Sat, 2006-07-15 at 01:34 -0400, Dave Jones wrote:
> > > > > A lot of prehistoric junk shows up on x86-64 configs.
> > > > 
> > > > 
> > > > ... but in general it helps compile testing if you're hacking stuff;
> > > > if your hacking IDE on x86-64 you now have to compile 32 bit as
well to
> > > > see if you didn't break the compile for these as well
> > > > 
> > > > So please don't do this, just disable them in your config...
> > > 
> > > An i686 cross compile chain seems to be the natural choice here
> > 
> > the point is that it doesn't fall out naturally, and thus things get
> > needlessly missed.
> 
> It seems the main question is:
> Is the kernel configuration mainly designed for users or for developers?
> 
> For users, showing drivers for hardware that is not present on their 
> platform only causes confusion.
> 
> Only developers who want to do compile tests could benefit from 
> compiling such drivers.
> 
> IMHO the kernel configuration is mainly designed for users.

or at least should be.

> We could do some kind of (X86_32 || DEVELOPER_COMPILE_TEST).

Let's not complicate it more.

> Or simply disable this driver on other platforms - these are only 
> compile errors and amongst all possible problems in the kernel compile 
> errors are amongst my least worries (obvious error, usually quickly 
> fixed after the first bug report).


---
~Randy

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

end of thread, other threads:[~2006-07-25 16:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-15  5:34 tighten ATA kconfig dependancies Dave Jones
2006-07-15  5:49 ` Arjan van de Ven
2006-07-15  6:38   ` Sam Ravnborg
2006-07-15  6:45     ` Arjan van de Ven
2006-07-15 10:28       ` Adrian Bunk
2006-07-15 10:56         ` Arjan van de Ven
2006-07-16  9:13           ` Adrian Bunk
2006-07-24  3:05 ` Alan Cox
     [not found] <6yL2J-7rR-1@gated-at.bofh.it>
     [not found] ` <6yLco-7DB-1@gated-at.bofh.it>
2006-07-15 18:38   ` Bodo Eggert
2006-07-16  5:58     ` Sam Ravnborg
2006-07-16  6:04       ` Arjan van de Ven
2006-07-16  6:17         ` Sam Ravnborg
  -- strict thread matches above, loose matches on Subject: below --
2006-07-16 18:14 Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).