diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:37 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:37 -0400 |
commit | f06ab3402aa2d6de060442c1053ea10b24b65076 (patch) | |
tree | 400f7ff5a79e75b82a7ba0daaf669f5d38f7c679 /drivers/ide/Kconfig | |
parent | 2c139e7a7152f66ff93b173f8770c94ea53a691e (diff) |
ide: convert ide-timing.h to ide-timings.c library (take 2)
* Don't include ide-timing.h in cs5535 and sis5513 host drivers
(they don't need it currently).
* Convert ide-timing.h to ide-timings.c library and add CONFIG_IDE_TIMINGS
config option to be selected by host drivers using the library.
While at it:
- fix ide_timing_find_mode() placement
v2:
* Add missing EXPORT_SYMBOLs. (Stephen Rothwell <sfr@canb.auug.org.au>)
There should be no functional changes caused by this patch.
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/Kconfig')
-rw-r--r-- | drivers/ide/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index cd08dba8261b..994b6d39b559 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -98,6 +98,9 @@ if BLK_DEV_IDE | |||
98 | 98 | ||
99 | comment "Please see Documentation/ide/ide.txt for help/info on IDE drives" | 99 | comment "Please see Documentation/ide/ide.txt for help/info on IDE drives" |
100 | 100 | ||
101 | config IDE_TIMINGS | ||
102 | bool | ||
103 | |||
101 | config IDE_ATAPI | 104 | config IDE_ATAPI |
102 | bool | 105 | bool |
103 | 106 | ||
@@ -469,6 +472,7 @@ config BLK_DEV_ALI15X3 | |||
469 | config BLK_DEV_AMD74XX | 472 | config BLK_DEV_AMD74XX |
470 | tristate "AMD and nVidia IDE support" | 473 | tristate "AMD and nVidia IDE support" |
471 | depends on !ARM | 474 | depends on !ARM |
475 | select IDE_TIMINGS | ||
472 | select BLK_DEV_IDEDMA_PCI | 476 | select BLK_DEV_IDEDMA_PCI |
473 | help | 477 | help |
474 | This driver adds explicit support for AMD-7xx and AMD-8111 chips | 478 | This driver adds explicit support for AMD-7xx and AMD-8111 chips |
@@ -725,6 +729,7 @@ config BLK_DEV_TRM290 | |||
725 | 729 | ||
726 | config BLK_DEV_VIA82CXXX | 730 | config BLK_DEV_VIA82CXXX |
727 | tristate "VIA82CXXX chipset support" | 731 | tristate "VIA82CXXX chipset support" |
732 | select IDE_TIMINGS | ||
728 | select BLK_DEV_IDEDMA_PCI | 733 | select BLK_DEV_IDEDMA_PCI |
729 | help | 734 | help |
730 | This driver adds explicit support for VIA BusMastering IDE chips. | 735 | This driver adds explicit support for VIA BusMastering IDE chips. |
@@ -751,6 +756,7 @@ endif | |||
751 | config BLK_DEV_IDE_PMAC | 756 | config BLK_DEV_IDE_PMAC |
752 | tristate "PowerMac on-board IDE support" | 757 | tristate "PowerMac on-board IDE support" |
753 | depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y | 758 | depends on PPC_PMAC && IDE=y && BLK_DEV_IDE=y |
759 | select IDE_TIMINGS | ||
754 | help | 760 | help |
755 | This driver provides support for the on-board IDE controller on | 761 | This driver provides support for the on-board IDE controller on |
756 | most of the recent Apple Power Macintoshes and PowerBooks. | 762 | most of the recent Apple Power Macintoshes and PowerBooks. |
@@ -912,6 +918,7 @@ config BLK_DEV_Q40IDE | |||
912 | config BLK_DEV_PALMCHIP_BK3710 | 918 | config BLK_DEV_PALMCHIP_BK3710 |
913 | tristate "Palmchip bk3710 IDE controller support" | 919 | tristate "Palmchip bk3710 IDE controller support" |
914 | depends on ARCH_DAVINCI | 920 | depends on ARCH_DAVINCI |
921 | select IDE_TIMINGS | ||
915 | select BLK_DEV_IDEDMA_SFF | 922 | select BLK_DEV_IDEDMA_SFF |
916 | help | 923 | help |
917 | Say Y here if you want to support the onchip IDE controller on the | 924 | Say Y here if you want to support the onchip IDE controller on the |