diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:09 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:09 -0500 |
commit | c99c92c58757985096e2d195dc1631246d99d686 (patch) | |
tree | c1663bd62c4fbc8ebf6020ea189c74a9c5523be6 /drivers/ide/legacy/gayle.c | |
parent | 81ca691981da718727281238b435dcf1528d2fda (diff) |
ide: print banner message once per controller in m68k host drivers
* Print banner message once per controller in m68k host drivers.
* Change printk() level to KERN_INFO in buddha, falconide and gayle.
* Add banner message to q40ide.
This is basically a preparation for the future IDE layer changes.
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/legacy/gayle.c')
-rw-r--r-- | drivers/ide/legacy/gayle.c | 18 |
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 | ||
131 | found: | 131 | found: |
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 |