diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:43 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:43 -0400 |
commit | 740c397cc64272917a4c4c283649579d2044a836 (patch) | |
tree | ecec3236c82750ed2fb176a9d27270163a011324 /drivers/ide/h8300/ide-h8300.c | |
parent | eb3aff5530d22eb4be0a99c9d39c9ffde7b9891a (diff) |
ide-h8300: print driver banner message early
Print driver banner message early and without interface number.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/h8300/ide-h8300.c')
-rw-r--r-- | drivers/ide/h8300/ide-h8300.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/h8300/ide-h8300.c b/drivers/ide/h8300/ide-h8300.c index c445298f7eb8..20fad6d542cc 100644 --- a/drivers/ide/h8300/ide-h8300.c +++ b/drivers/ide/h8300/ide-h8300.c | |||
@@ -189,6 +189,8 @@ static int __init h8300_ide_init(void) | |||
189 | int index; | 189 | int index; |
190 | u8 idx[4] = { 0xff, 0xff, 0xff, 0xff }; | 190 | u8 idx[4] = { 0xff, 0xff, 0xff, 0xff }; |
191 | 191 | ||
192 | printk(KERN_INFO DRV_NAME ": H8/300 generic IDE interface\n"); | ||
193 | |||
192 | if (!request_region(CONFIG_H8300_IDE_BASE, H8300_IDE_GAP*8, "ide-h8300")) | 194 | if (!request_region(CONFIG_H8300_IDE_BASE, H8300_IDE_GAP*8, "ide-h8300")) |
193 | goto out_busy; | 195 | goto out_busy; |
194 | if (!request_region(CONFIG_H8300_IDE_ALT, H8300_IDE_GAP, "ide-h8300")) { | 196 | if (!request_region(CONFIG_H8300_IDE_ALT, H8300_IDE_GAP, "ide-h8300")) { |
@@ -205,7 +207,6 @@ static int __init h8300_ide_init(void) | |||
205 | index = hwif->index; | 207 | index = hwif->index; |
206 | ide_init_port_hw(hwif, &hw); | 208 | ide_init_port_hw(hwif, &hw); |
207 | hwif_setup(hwif); | 209 | hwif_setup(hwif); |
208 | printk(KERN_INFO "ide%d: H8/300 generic IDE interface\n", index); | ||
209 | 210 | ||
210 | idx[0] = index; | 211 | idx[0] = index; |
211 | 212 | ||