diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:06 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:06 -0500 |
commit | 8ac4ce742c66100931b6f2d7a36b0df08bc721fe (patch) | |
tree | bc44edb8d6ec9057d24aa4c986729e1ca9f3f860 /drivers/ide/Kconfig | |
parent | ac87e41116c229fc1efaac0d17fdbfb2185e4629 (diff) |
ide: fix host drivers depending on ide_generic to probe for interfaces (take 2)
* Add mpc8xx_ide_probe() to mpc8xx.c and call it from probe_for_hwifs().
* Convert ide_arm, ide-cris, ide-h8300, ide-pnp, buddha, falconide, gayle,
macide, q40ide, cmd640 and mpc8xx host drivers to use ide_device_add().
This removes dependency on ide_generic for these drivers so update
ide/Kconfig accordingly.
v2:
* ide_arm build fix (s/ide_device_idx/ide_device_add/)
(Thanks to Christoph Lameter <clameter@sgi.com> for reporting the problem).
Cc: Mikael Starvik <starvik@axis.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 2a584b3f1813..7c419e87a4a4 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -327,7 +327,6 @@ config BLK_DEV_PLATFORM | |||
327 | config BLK_DEV_CMD640 | 327 | config BLK_DEV_CMD640 |
328 | bool "CMD640 chipset bugfix/support" | 328 | bool "CMD640 chipset bugfix/support" |
329 | depends on X86 | 329 | depends on X86 |
330 | select IDE_GENERIC | ||
331 | ---help--- | 330 | ---help--- |
332 | 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 |
333 | Pentium motherboards, usually in combination with a "Neptune" or | 332 | Pentium motherboards, usually in combination with a "Neptune" or |
@@ -362,7 +361,6 @@ config BLK_DEV_CMD640_ENHANCED | |||
362 | config BLK_DEV_IDEPNP | 361 | config BLK_DEV_IDEPNP |
363 | bool "PNP EIDE support" | 362 | bool "PNP EIDE support" |
364 | depends on PNP | 363 | depends on PNP |
365 | select IDE_GENERIC | ||
366 | help | 364 | help |
367 | 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 |
368 | would like the kernel to automatically detect and activate | 366 | would like the kernel to automatically detect and activate |
@@ -845,7 +843,6 @@ config BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ | |||
845 | 843 | ||
846 | config IDE_ARM | 844 | config IDE_ARM |
847 | def_bool ARM && (ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK) | 845 | def_bool ARM && (ARCH_CLPS7500 || ARCH_RPC || ARCH_SHARK) |
848 | select IDE_GENERIC | ||
849 | 846 | ||
850 | config BLK_DEV_IDE_ICSIDE | 847 | config BLK_DEV_IDE_ICSIDE |
851 | tristate "ICS IDE interface support" | 848 | tristate "ICS IDE interface support" |
@@ -880,7 +877,6 @@ config ETRAX_IDE | |||
880 | bool "ETRAX IDE support" | 877 | bool "ETRAX IDE support" |
881 | depends on CRIS && BROKEN | 878 | depends on CRIS && BROKEN |
882 | select BLK_DEV_IDEDMA | 879 | select BLK_DEV_IDEDMA |
883 | select IDE_GENERIC | ||
884 | help | 880 | help |
885 | Enables the ETRAX IDE driver. | 881 | Enables the ETRAX IDE driver. |
886 | 882 | ||
@@ -914,7 +910,6 @@ endchoice | |||
914 | config IDE_H8300 | 910 | config IDE_H8300 |
915 | bool "H8300 IDE support" | 911 | bool "H8300 IDE support" |
916 | depends on H8300 | 912 | depends on H8300 |
917 | select IDE_GENERIC | ||
918 | default y | 913 | default y |
919 | help | 914 | help |
920 | Enables the H8300 IDE driver. | 915 | Enables the H8300 IDE driver. |
@@ -922,7 +917,6 @@ config IDE_H8300 | |||
922 | config BLK_DEV_GAYLE | 917 | config BLK_DEV_GAYLE |
923 | bool "Amiga Gayle IDE interface support" | 918 | bool "Amiga Gayle IDE interface support" |
924 | depends on AMIGA | 919 | depends on AMIGA |
925 | select IDE_GENERIC | ||
926 | help | 920 | help |
927 | This is the IDE driver for the Amiga Gayle IDE interface. It supports | 921 | This is the IDE driver for the Amiga Gayle IDE interface. It supports |
928 | both the `A1200 style' and `A4000 style' of the Gayle IDE interface, | 922 | both the `A1200 style' and `A4000 style' of the Gayle IDE interface, |
@@ -954,7 +948,6 @@ config BLK_DEV_IDEDOUBLER | |||
954 | config BLK_DEV_BUDDHA | 948 | config BLK_DEV_BUDDHA |
955 | bool "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)" | 949 | bool "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)" |
956 | depends on ZORRO && EXPERIMENTAL | 950 | depends on ZORRO && EXPERIMENTAL |
957 | select IDE_GENERIC | ||
958 | help | 951 | help |
959 | This is the IDE driver for the IDE interfaces on the Buddha, | 952 | This is the IDE driver for the IDE interfaces on the Buddha, |
960 | Catweasel and X-Surf expansion boards. It supports up to two interfaces | 953 | Catweasel and X-Surf expansion boards. It supports up to two interfaces |
@@ -967,7 +960,6 @@ config BLK_DEV_BUDDHA | |||
967 | config BLK_DEV_FALCON_IDE | 960 | config BLK_DEV_FALCON_IDE |
968 | bool "Falcon IDE interface support" | 961 | bool "Falcon IDE interface support" |
969 | depends on ATARI | 962 | depends on ATARI |
970 | select IDE_GENERIC | ||
971 | help | 963 | help |
972 | This is the IDE driver for the builtin IDE interface on the Atari | 964 | This is the IDE driver for the builtin IDE interface on the Atari |
973 | Falcon. Say Y if you have a Falcon and want to use IDE devices (hard | 965 | Falcon. Say Y if you have a Falcon and want to use IDE devices (hard |
@@ -977,7 +969,6 @@ config BLK_DEV_FALCON_IDE | |||
977 | config BLK_DEV_MAC_IDE | 969 | config BLK_DEV_MAC_IDE |
978 | bool "Macintosh Quadra/Powerbook IDE interface support" | 970 | bool "Macintosh Quadra/Powerbook IDE interface support" |
979 | depends on MAC | 971 | depends on MAC |
980 | select IDE_GENERIC | ||
981 | help | 972 | help |
982 | This is the IDE driver for the builtin IDE interface on some m68k | 973 | This is the IDE driver for the builtin IDE interface on some m68k |
983 | Macintosh models. It supports both the `Quadra style' (used in | 974 | Macintosh models. It supports both the `Quadra style' (used in |
@@ -991,7 +982,6 @@ config BLK_DEV_MAC_IDE | |||
991 | config BLK_DEV_Q40IDE | 982 | config BLK_DEV_Q40IDE |
992 | bool "Q40/Q60 IDE interface support" | 983 | bool "Q40/Q60 IDE interface support" |
993 | depends on Q40 | 984 | depends on Q40 |
994 | select IDE_GENERIC | ||
995 | help | 985 | help |
996 | Enable the on-board IDE controller in the Q40/Q60. This should | 986 | Enable the on-board IDE controller in the Q40/Q60. This should |
997 | normally be on; disable it only if you are running a custom hard | 987 | normally be on; disable it only if you are running a custom hard |
@@ -1000,7 +990,6 @@ config BLK_DEV_Q40IDE | |||
1000 | config BLK_DEV_MPC8xx_IDE | 990 | config BLK_DEV_MPC8xx_IDE |
1001 | bool "MPC8xx IDE support" | 991 | bool "MPC8xx IDE support" |
1002 | depends on 8xx && (LWMON || IVMS8 || IVML24 || TQM8xxL) && IDE=y && BLK_DEV_IDE=y && !PPC_MERGE | 992 | depends on 8xx && (LWMON || IVMS8 || IVML24 || TQM8xxL) && IDE=y && BLK_DEV_IDE=y && !PPC_MERGE |
1003 | select IDE_GENERIC | ||
1004 | help | 993 | help |
1005 | This option provides support for IDE on Motorola MPC8xx Systems. | 994 | This option provides support for IDE on Motorola MPC8xx Systems. |
1006 | Please see 'Type of MPC8xx IDE interface' for details. | 995 | Please see 'Type of MPC8xx IDE interface' for details. |