mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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>
This commit is contained in:
parent
c5d252cbe9
commit
acfad6e186
@ -313,7 +313,6 @@ comment "IDE chipset support/bugfixes"
|
|||||||
|
|
||||||
config IDE_GENERIC
|
config IDE_GENERIC
|
||||||
tristate "generic/default IDE chipset support"
|
tristate "generic/default IDE chipset support"
|
||||||
default H8300
|
|
||||||
help
|
help
|
||||||
If unsure, say N.
|
If unsure, say N.
|
||||||
|
|
||||||
@ -883,6 +882,14 @@ config BLK_DEV_IDE_BAST
|
|||||||
Say Y here if you want to support the onboard IDE channels on the
|
Say Y here if you want to support the onboard IDE channels on the
|
||||||
Simtec BAST or the Thorcom VR1000
|
Simtec BAST or the Thorcom VR1000
|
||||||
|
|
||||||
|
config IDE_H8300
|
||||||
|
bool "H8300 IDE support"
|
||||||
|
depends on H8300
|
||||||
|
select IDE_GENERIC
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Enables the H8300 IDE driver.
|
||||||
|
|
||||||
config BLK_DEV_GAYLE
|
config BLK_DEV_GAYLE
|
||||||
bool "Amiga Gayle IDE interface support"
|
bool "Amiga Gayle IDE interface support"
|
||||||
depends on AMIGA
|
depends on AMIGA
|
||||||
|
@ -39,7 +39,7 @@ ide-core-$(CONFIG_BLK_DEV_MPC8xx_IDE) += ppc/mpc8xx.o
|
|||||||
ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
|
ide-core-$(CONFIG_BLK_DEV_IDE_PMAC) += ppc/pmac.o
|
||||||
|
|
||||||
# built-in only drivers from h8300/
|
# built-in only drivers from h8300/
|
||||||
ide-core-$(CONFIG_H8300) += h8300/ide-h8300.o
|
ide-core-$(CONFIG_IDE_H8300) += h8300/ide-h8300.o
|
||||||
|
|
||||||
obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
|
obj-$(CONFIG_BLK_DEV_IDE) += ide-core.o
|
||||||
obj-$(CONFIG_IDE_GENERIC) += ide-generic.o
|
obj-$(CONFIG_IDE_GENERIC) += ide-generic.o
|
||||||
|
Loading…
x
Reference in New Issue
Block a user