Эх сурвалжийг харах

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.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Jean Delvare 11 жил өмнө
parent
commit
2f2d4dd63d

+ 3 - 1
drivers/ide/Kconfig

@@ -416,6 +416,7 @@ config BLK_DEV_CY82C693
 
 
 config BLK_DEV_CS5520
 config BLK_DEV_CS5520
 	tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
 	tristate "Cyrix CS5510/20 MediaGX chipset support (VERY EXPERIMENTAL)"
+	depends on X86_32 || COMPILE_TEST
 	select BLK_DEV_IDEDMA_PCI
 	select BLK_DEV_IDEDMA_PCI
 	help
 	help
 	  Include support for PIO tuning and virtual DMA on the Cyrix MediaGX
 	  Include support for PIO tuning and virtual DMA on the Cyrix MediaGX
@@ -426,6 +427,7 @@ config BLK_DEV_CS5520
 
 
 config BLK_DEV_CS5530
 config BLK_DEV_CS5530
 	tristate "Cyrix/National Semiconductor CS5530 MediaGX chipset support"
 	tristate "Cyrix/National Semiconductor CS5530 MediaGX chipset support"
+	depends on X86_32 || COMPILE_TEST
 	select BLK_DEV_IDEDMA_PCI
 	select BLK_DEV_IDEDMA_PCI
 	help
 	help
 	  Include support for UDMA on the Cyrix MediaGX 5530 chipset. This
 	  Include support for UDMA on the Cyrix MediaGX 5530 chipset. This
@@ -435,7 +437,7 @@ config BLK_DEV_CS5530
 
 
 config BLK_DEV_CS5535
 config BLK_DEV_CS5535
 	tristate "AMD CS5535 chipset support"
 	tristate "AMD CS5535 chipset support"
-	depends on X86 && !X86_64
+	depends on X86_32
 	select BLK_DEV_IDEDMA_PCI
 	select BLK_DEV_IDEDMA_PCI
 	help
 	help
 	  Include support for UDMA on the NSC/AMD CS5535 companion chipset.
 	  Include support for UDMA on the NSC/AMD CS5535 companion chipset.