aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-11-27 15:35:55 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2007-11-27 15:35:55 -0500
commitc03a9278ad96e1e7d144f5f626c6794f050c0ae7 (patch)
tree114d8880da519bc1f5a170b0921d02d475ee97de
parentacfad6e186664fa8521662bb7992ff6508f9357b (diff)
ide: move CONFIG_IDE_ETRAX to drivers/ide/Kconfig
* Move ETRAX_IDE and friends from arch/cris/arch-{v10,v32}/drivers/Kconfig to drivers/ide/Kconfig. * Don't force selecting ide-disk and ide-cd device drivers (please handle this through defconfig if necessary). * Make ETRAX_IDE depend on BROKEN for the time being (it doesn't even compile currently). Cc: Mikael Starvik <starvik@axis.com> Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--arch/cris/arch-v10/drivers/Kconfig39
-rw-r--r--arch/cris/arch-v32/drivers/Kconfig12
-rw-r--r--drivers/ide/Kconfig35
3 files changed, 35 insertions, 51 deletions
diff --git a/arch/cris/arch-v10/drivers/Kconfig b/arch/cris/arch-v10/drivers/Kconfig
index faf8b4d3ca01..e3c0f2928149 100644
--- a/arch/cris/arch-v10/drivers/Kconfig
+++ b/arch/cris/arch-v10/drivers/Kconfig
@@ -542,45 +542,6 @@ config ETRAX_RS485_DISABLE_RECEIVER
542 loopback. Not all products are able to do this in software only. 542 loopback. Not all products are able to do this in software only.
543 Axis 2400/2401 must disable receiver. 543 Axis 2400/2401 must disable receiver.
544 544
545config ETRAX_IDE
546 bool "ATA/IDE support"
547 select IDE
548 select BLK_DEV_IDE
549 select BLK_DEV_IDEDISK
550 select BLK_DEV_IDECD
551 select BLK_DEV_IDEDMA
552 select IDE_GENERIC
553 help
554 Enable this to get support for ATA/IDE.
555 You can't use parallel ports or SCSI ports
556 at the same time.
557
558
559config ETRAX_IDE_DELAY
560 int "Delay for drives to regain consciousness"
561 depends on ETRAX_IDE
562 default 15
563 help
564 Number of seconds to wait for IDE drives to spin up after an IDE
565 reset.
566choice
567 prompt "IDE reset pin"
568 depends on ETRAX_IDE
569 default ETRAX_IDE_PB7_RESET
570
571config ETRAX_IDE_PB7_RESET
572 bool "Port_PB_Bit_7"
573 help
574 IDE reset on pin 7 on port B
575
576config ETRAX_IDE_G27_RESET
577 bool "Port_G_Bit_27"
578 help
579 IDE reset on pin 27 on port G
580
581endchoice
582
583
584config ETRAX_USB_HOST 545config ETRAX_USB_HOST
585 bool "USB host" 546 bool "USB host"
586 select USB 547 select USB
diff --git a/arch/cris/arch-v32/drivers/Kconfig b/arch/cris/arch-v32/drivers/Kconfig
index 7f72d7c9e1ce..9bccb5e2a960 100644
--- a/arch/cris/arch-v32/drivers/Kconfig
+++ b/arch/cris/arch-v32/drivers/Kconfig
@@ -582,18 +582,6 @@ config ETRAX_PE_CHANGEABLE_BITS
582 that a user can change the value on using ioctl's. 582 that a user can change the value on using ioctl's.
583 Bit set = changeable. 583 Bit set = changeable.
584 584
585config ETRAX_IDE
586 bool "ATA/IDE support"
587 depends on ETRAX_ARCH_V32
588 select IDE
589 select BLK_DEV_IDE
590 select BLK_DEV_IDEDISK
591 select BLK_DEV_IDECD
592 select BLK_DEV_IDEDMA
593 select IDE_GENERIC
594 help
595 Enables the ETRAX IDE driver.
596
597config ETRAX_CARDBUS 585config ETRAX_CARDBUS
598 bool "Cardbus support" 586 bool "Cardbus support"
599 depends on ETRAX_ARCH_V32 587 depends on ETRAX_ARCH_V32
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index ca8239a2c98a..403e3ffca4e0 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -882,6 +882,41 @@ config BLK_DEV_IDE_BAST
882 Say Y here if you want to support the onboard IDE channels on the 882 Say Y here if you want to support the onboard IDE channels on the
883 Simtec BAST or the Thorcom VR1000 883 Simtec BAST or the Thorcom VR1000
884 884
885config ETRAX_IDE
886 bool "ETRAX IDE support"
887 depends on CRIS && BROKEN
888 select BLK_DEV_IDEDMA
889 select IDE_GENERIC
890 help
891 Enables the ETRAX IDE driver.
892
893 You can't use parallel ports or SCSI ports at the same time.
894
895config ETRAX_IDE_DELAY
896 int "Delay for drives to regain consciousness"
897 depends on ETRAX_IDE && ETRAX_ARCH_V10
898 default 15
899 help
900 Number of seconds to wait for IDE drives to spin up after an IDE
901 reset.
902
903choice
904 prompt "IDE reset pin"
905 depends on ETRAX_IDE && ETRAX_ARCH_V10
906 default ETRAX_IDE_PB7_RESET
907
908config ETRAX_IDE_PB7_RESET
909 bool "Port_PB_Bit_7"
910 help
911 IDE reset on pin 7 on port B
912
913config ETRAX_IDE_G27_RESET
914 bool "Port_G_Bit_27"
915 help
916 IDE reset on pin 27 on port G
917
918endchoice
919
885config IDE_H8300 920config IDE_H8300
886 bool "H8300 IDE support" 921 bool "H8300 IDE support"
887 depends on H8300 922 depends on H8300