Commit acfad6e186664fa8521662bb7992ff6508f9357b
1 parent
c5d252cbe9
ide: add CONFIG_IDE_H8300 config option
Add a separate config option for ide-8300 host driver instead of depending on CONFIG_H8300. This change is a preparation for the future changes and also allows ide-h8300 to be disabled if needed. Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing 2 changed files with 9 additions and 2 deletions Side-by-side Diff
drivers/ide/Kconfig
... | ... | @@ -313,7 +313,6 @@ |
313 | 313 | |
314 | 314 | config IDE_GENERIC |
315 | 315 | tristate "generic/default IDE chipset support" |
316 | - default H8300 | |
317 | 316 | help |
318 | 317 | If unsure, say N. |
319 | 318 | |
... | ... | @@ -882,6 +881,14 @@ |
882 | 881 | help |
883 | 882 | Say Y here if you want to support the onboard IDE channels on the |
884 | 883 | Simtec BAST or the Thorcom VR1000 |
884 | + | |
885 | +config IDE_H8300 | |
886 | + bool "H8300 IDE support" | |
887 | + depends on H8300 | |
888 | + select IDE_GENERIC | |
889 | + default y | |
890 | + help | |
891 | + Enables the H8300 IDE driver. | |
885 | 892 | |
886 | 893 | config BLK_DEV_GAYLE |
887 | 894 | bool "Amiga Gayle IDE interface support" |
drivers/ide/Makefile
... | ... | @@ -39,7 +39,7 @@ |
39 | 39 | ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o |
40 | 40 | |
41 | 41 | # built-in only drivers from h8300/ |
42 | -ide-core-$(CONFIG_H8300) += h8300/ide-h8300.o | |
42 | +ide-core-$(CONFIG_IDE_H8300) += h8300/ide-h8300.o | |
43 | 43 | |
44 | 44 | obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o |
45 | 45 | obj-$(CONFIG_IDE_GENERIC) += ide-generic.o |