diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:35 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:35 -0400 |
commit | 486c92e2900d618c650a7099536310651aa6cf1b (patch) | |
tree | f78f54a5df2c3f93b73913652b2a7209b2bf11da /drivers/ide/Kconfig | |
parent | f01674e459923c6df540e6c983d37e5fc94d43b8 (diff) |
ide: move default IDE ports setup to ide_generic host driver
* Make CONFIG_IDE_GENERIC depended on CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS.
* Move default IDE ports setup from init_ide_data() to ide_generic.
* Use ide_init_port_hw() in ide_generic.
* Remove no longer needed CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index aecc219288d6..87532034d105 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -307,6 +307,7 @@ comment "IDE chipset support/bugfixes" | |||
307 | 307 | ||
308 | config IDE_GENERIC | 308 | config IDE_GENERIC |
309 | tristate "generic/default IDE chipset support" | 309 | tristate "generic/default IDE chipset support" |
310 | depends on ALPHA || X86 || IA64 || M32R || MIPS || PPC32 | ||
310 | help | 311 | help |
311 | If unsure, say N. | 312 | If unsure, say N. |
312 | 313 | ||
@@ -1089,9 +1090,6 @@ config BLK_DEV_IDEDMA | |||
1089 | def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \ | 1090 | def_bool BLK_DEV_IDEDMA_SFF || BLK_DEV_IDEDMA_PMAC || \ |
1090 | BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA | 1091 | BLK_DEV_IDEDMA_ICS || BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA |
1091 | 1092 | ||
1092 | config IDE_ARCH_OBSOLETE_DEFAULTS | ||
1093 | def_bool ALPHA || X86 || IA64 || M32R || MIPS || PPC32 | ||
1094 | |||
1095 | endif | 1093 | endif |
1096 | 1094 | ||
1097 | config BLK_DEV_HD_ONLY | 1095 | config BLK_DEV_HD_ONLY |