Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: Fix CS55xx 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.

The CS5536 was used with the Geode processors, but also on MIPS
Loongson/Lemote 2 systems, so let its driver be built for these two
architectures only, except for build testing purpose.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Ralf Baechle <ralf@linux-mips.org>

authored by

Jean Delvare and committed by
Tejun Heo
9236a76d 35bf8821

+4 -4
+4 -4
drivers/ata/Kconfig
··· 411 411 412 412 config PATA_CS5520 413 413 tristate "CS5510/5520 PATA support" 414 - depends on PCI 414 + depends on PCI && (X86_32 || COMPILE_TEST) 415 415 help 416 416 This option enables support for the Cyrix 5510/5520 417 417 companion chip used with the MediaGX/Geode processor family. ··· 420 420 421 421 config PATA_CS5530 422 422 tristate "CS5530 PATA support" 423 - depends on PCI 423 + depends on PCI && (X86_32 || COMPILE_TEST) 424 424 help 425 425 This option enables support for the Cyrix/NatSemi/AMD CS5530 426 426 companion chip used with the MediaGX/Geode processor family. ··· 429 429 430 430 config PATA_CS5535 431 431 tristate "CS5535 PATA support (Experimental)" 432 - depends on PCI && X86 && !X86_64 432 + depends on PCI && X86_32 433 433 help 434 434 This option enables support for the NatSemi/AMD CS5535 435 435 companion chip used with the Geode processor family. ··· 438 438 439 439 config PATA_CS5536 440 440 tristate "CS5536 PATA support" 441 - depends on PCI 441 + depends on PCI && (X86_32 || MIPS || COMPILE_TEST) 442 442 help 443 443 This option enables support for the AMD CS5536 444 444 companion chip used with the Geode LX processor family.