diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-27 15:35:55 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-11-27 15:35:55 -0500 |
commit | c03a9278ad96e1e7d144f5f626c6794f050c0ae7 (patch) | |
tree | 114d8880da519bc1f5a170b0921d02d475ee97de /drivers/ide/Kconfig | |
parent | acfad6e186664fa8521662bb7992ff6508f9357b (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>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 35 |
1 files changed, 35 insertions, 0 deletions
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 | ||
885 | config 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 | |||
895 | config 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 | |||
903 | choice | ||
904 | prompt "IDE reset pin" | ||
905 | depends on ETRAX_IDE && ETRAX_ARCH_V10 | ||
906 | default ETRAX_IDE_PB7_RESET | ||
907 | |||
908 | config ETRAX_IDE_PB7_RESET | ||
909 | bool "Port_PB_Bit_7" | ||
910 | help | ||
911 | IDE reset on pin 7 on port B | ||
912 | |||
913 | config ETRAX_IDE_G27_RESET | ||
914 | bool "Port_G_Bit_27" | ||
915 | help | ||
916 | IDE reset on pin 27 on port G | ||
917 | |||
918 | endchoice | ||
919 | |||
885 | config IDE_H8300 | 920 | config IDE_H8300 |
886 | bool "H8300 IDE support" | 921 | bool "H8300 IDE support" |
887 | depends on H8300 | 922 | depends on H8300 |