Skip to content

Commit 9236a76

Browse files
jdelvarehtejun
authored andcommitted
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>
1 parent 35bf882 commit 9236a76

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/ata/Kconfig‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ config PATA_CMD64X
411411

412412
config PATA_CS5520
413413
tristate "CS5510/5520 PATA support"
414-
depends on PCI
414+
depends on PCI && (X86_32 || COMPILE_TEST)
415415
help
416416
This option enables support for the Cyrix 5510/5520
417417
companion chip used with the MediaGX/Geode processor family.
@@ -420,7 +420,7 @@ config PATA_CS5520
420420

421421
config PATA_CS5530
422422
tristate "CS5530 PATA support"
423-
depends on PCI
423+
depends on PCI && (X86_32 || COMPILE_TEST)
424424
help
425425
This option enables support for the Cyrix/NatSemi/AMD CS5530
426426
companion chip used with the MediaGX/Geode processor family.
@@ -429,7 +429,7 @@ config PATA_CS5530
429429

430430
config PATA_CS5535
431431
tristate "CS5535 PATA support (Experimental)"
432-
depends on PCI && X86 && !X86_64
432+
depends on PCI && X86_32
433433
help
434434
This option enables support for the NatSemi/AMD CS5535
435435
companion chip used with the Geode processor family.
@@ -438,7 +438,7 @@ config PATA_CS5535
438438

439439
config PATA_CS5536
440440
tristate "CS5536 PATA support"
441-
depends on PCI
441+
depends on PCI && (X86_32 || MIPS || COMPILE_TEST)
442442
help
443443
This option enables support for the AMD CS5536
444444
companion chip used with the Geode LX processor family.

0 commit comments

Comments
 (0)