diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:26 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-31 14:15:26 -0400 |
commit | 9f5af4d667a6d4ebd66019b4b26b445ddbae6d6c (patch) | |
tree | 43dbe739c4c69f6bbb0a5d132bb678c901c225ca /drivers/ide | |
parent | 41fa9f863baacd32dd049daf8050d55a0c9e6f1a (diff) |
ide: remove CONFIG_BLK_DEV_IDEDOUBLER config option
Nowadays it is not worth having a separate config option for
Amiga IDE Doubler support so always include it (it still needs
to be explicitly enabled by module parameter).
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/Kconfig | 23 | ||||
-rw-r--r-- | drivers/ide/gayle.c | 12 |
2 files changed, 9 insertions, 26 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig index 896424445f65..4d2f2a6b5bdb 100644 --- a/drivers/ide/Kconfig +++ b/drivers/ide/Kconfig | |||
@@ -770,27 +770,20 @@ config BLK_DEV_GAYLE | |||
770 | This includes on-board IDE interfaces on some Amiga models (A600, | 770 | This includes on-board IDE interfaces on some Amiga models (A600, |
771 | A1200, A4000, and A4000T), and IDE interfaces on the Zorro expansion | 771 | A1200, A4000, and A4000T), and IDE interfaces on the Zorro expansion |
772 | bus (M-Tech E-Matrix 530 expansion card). | 772 | bus (M-Tech E-Matrix 530 expansion card). |
773 | Say Y if you have an Amiga with a Gayle IDE interface and want to use | ||
774 | IDE devices (hard disks, CD-ROM drives, etc.) that are connected to | ||
775 | it. | ||
776 | Note that you also have to enable Zorro bus support if you want to | ||
777 | use Gayle IDE interfaces on the Zorro expansion bus. | ||
778 | 773 | ||
779 | config BLK_DEV_IDEDOUBLER | 774 | It also provides support for the so-called `IDE doublers' (made |
780 | bool "Amiga IDE Doubler support (EXPERIMENTAL)" | ||
781 | depends on BLK_DEV_GAYLE && EXPERIMENTAL | ||
782 | ---help--- | ||
783 | This feature provides support for the so-called `IDE doublers' (made | ||
784 | by various manufacturers, e.g. Eyetech) that can be connected to | 775 | by various manufacturers, e.g. Eyetech) that can be connected to |
785 | the on-board IDE interface of some Amiga models. Using such an IDE | 776 | the on-board IDE interface of some Amiga models. Using such an IDE |
786 | doubler, you can connect up to four instead of two IDE devices to | 777 | doubler, you can connect up to four instead of two IDE devices to |
787 | the Amiga's on-board IDE interface. | 778 | the Amiga's on-board IDE interface. The feature is enabled at kernel |
779 | runtime using the "gayle.doubler" kernel boot parameter. | ||
788 | 780 | ||
789 | Note that the normal Amiga Gayle IDE driver may not work correctly | 781 | Say Y if you have an Amiga with a Gayle IDE interface and want to use |
790 | if you have an IDE doubler and don't enable this feature! | 782 | IDE devices (hard disks, CD-ROM drives, etc.) that are connected to |
783 | it. | ||
791 | 784 | ||
792 | Say Y if you have an IDE doubler. The feature is enabled at kernel | 785 | Note that you also have to enable Zorro bus support if you want to |
793 | runtime using the "gayle.doubler" kernel boot parameter. | 786 | use Gayle IDE interfaces on the Zorro expansion bus. |
794 | 787 | ||
795 | config BLK_DEV_BUDDHA | 788 | config BLK_DEV_BUDDHA |
796 | tristate "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)" | 789 | tristate "Buddha/Catweasel/X-Surf IDE interface support (EXPERIMENTAL)" |
diff --git a/drivers/ide/gayle.c b/drivers/ide/gayle.c index dc778251cb05..c7119516c5a7 100644 --- a/drivers/ide/gayle.c +++ b/drivers/ide/gayle.c | |||
@@ -53,11 +53,6 @@ | |||
53 | 53 | ||
54 | #define GAYLE_NEXT_PORT 0x1000 | 54 | #define GAYLE_NEXT_PORT 0x1000 |
55 | 55 | ||
56 | #ifndef CONFIG_BLK_DEV_IDEDOUBLER | ||
57 | #define GAYLE_NUM_HWIFS 1 | ||
58 | #define GAYLE_NUM_PROBE_HWIFS GAYLE_NUM_HWIFS | ||
59 | #define GAYLE_HAS_CONTROL_REG 1 | ||
60 | #else /* CONFIG_BLK_DEV_IDEDOUBLER */ | ||
61 | #define GAYLE_NUM_HWIFS 2 | 56 | #define GAYLE_NUM_HWIFS 2 |
62 | #define GAYLE_NUM_PROBE_HWIFS (ide_doubler ? GAYLE_NUM_HWIFS : \ | 57 | #define GAYLE_NUM_PROBE_HWIFS (ide_doubler ? GAYLE_NUM_HWIFS : \ |
63 | GAYLE_NUM_HWIFS-1) | 58 | GAYLE_NUM_HWIFS-1) |
@@ -66,8 +61,6 @@ | |||
66 | static int ide_doubler; | 61 | static int ide_doubler; |
67 | module_param_named(doubler, ide_doubler, bool, 0); | 62 | module_param_named(doubler, ide_doubler, bool, 0); |
68 | MODULE_PARM_DESC(doubler, "enable support for IDE doublers"); | 63 | MODULE_PARM_DESC(doubler, "enable support for IDE doublers"); |
69 | #endif /* CONFIG_BLK_DEV_IDEDOUBLER */ | ||
70 | |||
71 | 64 | ||
72 | /* | 65 | /* |
73 | * Check and acknowledge the interrupt status | 66 | * Check and acknowledge the interrupt status |
@@ -151,10 +144,7 @@ static int __init gayle_init(void) | |||
151 | found: | 144 | found: |
152 | printk(KERN_INFO "ide: Gayle IDE controller (A%d style%s)\n", | 145 | printk(KERN_INFO "ide: Gayle IDE controller (A%d style%s)\n", |
153 | a4000 ? 4000 : 1200, | 146 | a4000 ? 4000 : 1200, |
154 | #ifdef CONFIG_BLK_DEV_IDEDOUBLER | 147 | ide_doubler ? ", IDE doubler" : ""); |
155 | ide_doubler ? ", IDE doubler" : | ||
156 | #endif | ||
157 | ""); | ||
158 | 148 | ||
159 | if (a4000) { | 149 | if (a4000) { |
160 | phys_base = GAYLE_BASE_4000; | 150 | phys_base = GAYLE_BASE_4000; |