Skip to contentSkip to conversation

ide: Fix CS5520 and CS5530 dependencies

PATCH Applied Jean Delvare 2 participants 2 messages Mar 11, 2014 – Mar 17, 2014 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ide: Fix CS5520 and CS5530 dependencies

As far as I know, the CS5520 and CS5530 chipsets were only used with 32-bit x86 Geode processors, so I think their drivers are only needed on this architecture, except for build testing purpose.

While we're here, simplify the dependencies for the CS5535 driver.

Cc "David S. Miller" <[email protected]>

---
As suggested by Alan.

 drivers/ide/Kconfig |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/ide/Kconfig +3 -1
@@ -416,6 +416,7 @@ config BLK_DEV_CY82C693
 
 config BLK_DEV_CS5520
 	tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
+	depends on X86_32 || COMPILE_TEST
 	select BLK_DEV_IDEDMA_PCI
 	help
 	  Include support for PIO tuning and virtual DMA on the Cyrix MediaGX
@@ -426,6 +427,7 @@ config BLK_DEV_CS5520
 
 config BLK_DEV_CS5530
 	tristate "Cyrix/National Semiconductor CS5530 MediaGX chipset support"
+	depends on X86_32 || COMPILE_TEST
 	select BLK_DEV_IDEDMA_PCI
 	help
 	  Include support for UDMA on the Cyrix MediaGX 5530 chipset. This
@@ -435,7 +437,7 @@ config BLK_DEV_CS5530
 
 config BLK_DEV_CS5535
 	tristate "AMD CS5535 chipset support"
-	depends on X86 && !X86_64
+	depends on X86_32
 	select BLK_DEV_IDEDMA_PCI
 	help
 	  Include support for UDMA on the NSC/AMD CS5535 companion chipset.
Signature · 2 lines
Jean Delvare
SUSE L3 Support
Applied
#1 lore raw

From: Jean Delvare <[email protected]>
Date: Tue, 11 Mar 2014 12:44:54 +0100

Quoted 7 lines

As far as I know, the CS5520 and CS5530 chipsets were only used with 32-bit x86 Geode processors, so I think their drivers are only needed on this architecture, except for build testing purpose.

While we're here, simplify the dependencies for the CS5535 driver.

Applied.