aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/legacy/gayle.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/legacy/gayle.c')
-rw-r--r--drivers/ide/legacy/gayle.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/drivers/ide/legacy/gayle.c b/drivers/ide/legacy/gayle.c
index e21ef75c9055..492fa047efc0 100644
--- a/drivers/ide/legacy/gayle.c
+++ b/drivers/ide/legacy/gayle.c
@@ -129,6 +129,13 @@ static int __init gayle_init(void)
129 return -ENODEV; 129 return -ENODEV;
130 130
131found: 131found:
132 printk(KERN_INFO "ide: Gayle IDE controller (A%d style%s)\n",
133 a4000 ? 4000 : 1200,
134#ifdef CONFIG_BLK_DEV_IDEDOUBLER
135 ide_doubler ? ", IDE doubler" :
136#endif
137 "");
138
132 for (i = 0; i < GAYLE_NUM_PROBE_HWIFS; i++) { 139 for (i = 0; i < GAYLE_NUM_PROBE_HWIFS; i++) {
133 unsigned long base, ctrlport, irqport; 140 unsigned long base, ctrlport, irqport;
134 ide_ack_intr_t *ack_intr; 141 ide_ack_intr_t *ack_intr;
@@ -173,17 +180,6 @@ found:
173 ide_init_port_hw(hwif, &hw); 180 ide_init_port_hw(hwif, &hw);
174 181
175 hwif->mmio = 1; 182 hwif->mmio = 1;
176 switch (i) {
177 case 0:
178 printk("ide%d: Gayle IDE interface (A%d style)\n", index,
179 a4000 ? 4000 : 1200);
180 break;
181#ifdef CONFIG_BLK_DEV_IDEDOUBLER
182 case 1:
183 printk("ide%d: IDE doubler\n", index);
184 break;
185#endif /* CONFIG_BLK_DEV_IDEDOUBLER */
186 }
187 183
188 idx[i] = index; 184 idx[i] = index;
189 } else 185 } else