diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:07 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:07 -0500 |
commit | ade2daf9c6e57845fe83a24e0a9fa1c03c6e91b1 (patch) | |
tree | 68070062d6306442caee50630c4213c911eb9064 /drivers/ide/Kconfig | |
parent | 8ac4ce742c66100931b6f2d7a36b0df08bc721fe (diff) |
ide: make remaining built-in only IDE host drivers modular (take 2)
* Make remaining built-in only IDE host drivers modular, add ide-scan-pci.c
file for probing PCI host drivers registered with IDE core (special case
for built-in IDE and CONFIG_IDEPCI_PCIBUS_ORDER=y) and then take care of
the ordering in which all IDE host drivers are probed when IDE is built-in
during link time.
* Move probing of gayle, falconide, macide, q40ide and buddha (m68k arch
specific) host drivers, before PCI ones (no PCI on m68k), ide-cris (cris
arch specific), cmd640 (x86 arch specific) and pmac (ppc arch specific).
* Move probing of ide-cris (cris arch specific) host driver before cmd640
(x86 arch specific).
* Move probing of mpc8xx (ppc specific) host driver before ide-pnp (depends
on ISA and none of ppc platform that use mpc8xx supports ISA) and ide-h8300
(h8300 arch specific).
* Add "probe_vlb" kernel parameter to cmd640 host driver and update
Documentation/ide.txt accordingly.
* Make IDE_ARM config option visible so it can also be disabled if needed.
* Remove bogus comment from ide.c while at it.
v2:
* Fix two issues spotted by Sergei:
- replace ENOMEM error value by ENOENT in ide-h8300 host driver
- fix MODULE_PARM_DESC() in cmd640 host driver
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 7c419e87a4a4..e92128a87f26 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -325,7 +325,7 @@ config BLK_DEV_PLATFORM | |||
325 | If unsure, say N. | 325 | If unsure, say N. |
326 | 326 | ||
327 | config BLK_DEV_CMD640 | 327 | config BLK_DEV_CMD640 |
328 | bool "CMD640 chipset bugfix/support" | 328 | tristate "CMD640 chipset bugfix/support" |
329 | depends on X86 | 329 | depends on X86 |
330 | ---help--- | 330 | ---help--- |
331 | The CMD-Technologies CMD640 IDE chip is used on many common 486 and | 331 | The CMD-Technologies CMD640 IDE chip is used on many common 486 and |
@@ -359,7 +359,7 @@ config BLK_DEV_CMD640_ENHANCED | |||
359 | Otherwise say N. | 359 | Otherwise say N. |
360 | 360 | ||
361 | config BLK_DEV_IDEPNP | 361 | config BLK_DEV_IDEPNP |
362 | bool "PNP EIDE support" | 362 | tristate "PNP EIDE support" |
363 | depends on PNP | 363 | depends on PNP |
364 | help | 364 | help |
365 | If you have a PnP (Plug and Play) compatible EIDE card and | 365 | If you have a PnP (Plug and Play) compatible EIDE card and |
@@ -788,7 +788,7 @@ config BLK_DEV_CELLEB | |||
788 | endif | 788 | endif |
789 | 789 | ||
790 | config BLK_DEV_IDE_PMAC | 790 | config BLK_DEV_IDE_PMAC |
791 | bool "Builtin PowerMac IDE support" | 791 | tristate "Builtin PowerMac IDE support" |
792 | depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y | 792 | depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y |
793 | help | 793 | help |
794 | This driver provides support for the built-in IDE controller on | 794 | This driver provides support for the built-in IDE controller on |
@@ -842,7 +842,9 @@ config BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ | |||
842 | depends on BLK_DEV_IDE_AU1XXX | 842 | depends on BLK_DEV_IDE_AU1XXX |
843 | 843 | ||
844 | config IDE_ARM | 844 | config IDE_ARM |
845 | def_bool ARM && (ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK) | 845 | tristate "ARM IDE support" |
846 | depends on ARM && (ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK) | ||
847 | default y | ||
846 | 848 | ||
847 | config BLK_DEV_IDE_ICSIDE | 849 | config BLK_DEV_IDE_ICSIDE |
848 | tristate "ICS IDE interface support" | 850 | tristate "ICS IDE interface support" |
@@ -874,7 +876,7 @@ config BLK_DEV_IDE_BAST | |||
874 | Simtec BAST or the Thorcom VR1000 | 876 | Simtec BAST or the Thorcom VR1000 |
875 | 877 | ||
876 | config ETRAX_IDE | 878 | config ETRAX_IDE |
877 | bool "ETRAX IDE support" | 879 | tristate "ETRAX IDE support" |
878 | depends on CRIS && BROKEN | 880 | depends on CRIS && BROKEN |
879 | select BLK_DEV_IDEDMA | 881 | select BLK_DEV_IDEDMA |
880 | help | 882 | help |
@@ -908,14 +910,14 @@ config ETRAX_IDE_G27_RESET | |||
908 | endchoice | 910 | endchoice |
909 | 911 | ||
910 | config IDE_H8300 | 912 | config IDE_H8300 |
911 | bool "H8300 IDE support" | 913 | tristate "H8300 IDE support" |
912 | depends on H8300 | 914 | depends on H8300 |
913 | default y | 915 | default y |
914 | help | 916 | help |
915 | Enables the H8300 IDE driver. | 917 | Enables the H8300 IDE driver. |
916 | 918 | ||
917 | config BLK_DEV_GAYLE | 919 | config BLK_DEV_GAYLE |
918 | bool "Amiga Gayle IDE interface support" | 920 | tristate "Amiga Gayle IDE interface support" |
919 | depends on AMIGA | 921 | depends on AMIGA |
920 | help | 922 | help |
921 | This is the IDE driver for the Amiga Gayle IDE interface. It supports | 923 | This is the IDE driver for the Amiga Gayle IDE interface. It supports |
@@ -946,7 +948,7 @@ config BLK_DEV_IDEDOUBLER | |||
946 | runtime using the "ide=doubler" kernel boot parameter. | 948 | runtime using the "ide=doubler" kernel boot parameter. |
947 | 949 | ||
948 | config BLK_DEV_BUDDHA | 950 | config BLK_DEV_BUDDHA |
949 | bool "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)" | 951 | tristate "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)" |
950 | depends on ZORRO && EXPERIMENTAL | 952 | depends on ZORRO && EXPERIMENTAL |
951 | help | 953 | help |
952 | This is the IDE driver for the IDE interfaces on the Buddha, | 954 | This is the IDE driver for the IDE interfaces on the Buddha, |
@@ -958,7 +960,7 @@ config BLK_DEV_BUDDHA | |||
958 | to one of its IDE interfaces. | 960 | to one of its IDE interfaces. |
959 | 961 | ||
960 | config BLK_DEV_FALCON_IDE | 962 | config BLK_DEV_FALCON_IDE |
961 | bool "Falcon IDE interface support" | 963 | tristate "Falcon IDE interface support" |
962 | depends on ATARI | 964 | depends on ATARI |
963 | help | 965 | help |
964 | This is the IDE driver for the builtin IDE interface on the Atari | 966 | This is the IDE driver for the builtin IDE interface on the Atari |
@@ -967,7 +969,7 @@ config BLK_DEV_FALCON_IDE | |||
967 | interface. | 969 | interface. |
968 | 970 | ||
969 | config BLK_DEV_MAC_IDE | 971 | config BLK_DEV_MAC_IDE |
970 | bool "Macintosh Quadra/Powerbook IDE interface support" | 972 | tristate "Macintosh Quadra/Powerbook IDE interface support" |
971 | depends on MAC | 973 | depends on MAC |
972 | help | 974 | help |
973 | This is the IDE driver for the builtin IDE interface on some m68k | 975 | This is the IDE driver for the builtin IDE interface on some m68k |
@@ -980,7 +982,7 @@ config BLK_DEV_MAC_IDE | |||
980 | builtin IDE interface. | 982 | builtin IDE interface. |
981 | 983 | ||
982 | config BLK_DEV_Q40IDE | 984 | config BLK_DEV_Q40IDE |
983 | bool "Q40/Q60 IDE interface support" | 985 | tristate "Q40/Q60 IDE interface support" |
984 | depends on Q40 | 986 | depends on Q40 |
985 | help | 987 | help |
986 | Enable the on-board IDE controller in the Q40/Q60. This should | 988 | Enable the on-board IDE controller in the Q40/Q60. This should |
@@ -988,7 +990,7 @@ config BLK_DEV_Q40IDE | |||
988 | drive subsystem through an expansion card. | 990 | drive subsystem through an expansion card. |
989 | 991 | ||
990 | config BLK_DEV_MPC8xx_IDE | 992 | config BLK_DEV_MPC8xx_IDE |
991 | bool "MPC8xx IDE support" | 993 | tristate "MPC8xx IDE support" |
992 | depends on 8xx && (LWMON || IVMS8 || IVML24 || TQM8xxL) && IDE=y && BLK_DEV_IDE=y && !PPC_MERGE | 994 | depends on 8xx && (LWMON || IVMS8 || IVML24 || TQM8xxL) && IDE=y && BLK_DEV_IDE=y && !PPC_MERGE |
993 | help | 995 | help |
994 | This option provides support for IDE on Motorola MPC8xx Systems. | 996 | This option provides support for IDE on Motorola MPC8xx Systems. |