Skip to content

Commit

Permalink
ide-h8300: print driver banner message early
Browse files Browse the repository at this point in the history
Print driver banner message early and without interface number.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 16, 2008
1 parent eb3aff5 commit 740c397
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/ide/h8300/ide-h8300.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ static int __init h8300_ide_init(void)
int index;
u8 idx[4] = { 0xff, 0xff, 0xff, 0xff };

printk(KERN_INFO DRV_NAME ": H8/300 generic IDE interface\n");

if (!request_region(CONFIG_H8300_IDE_BASE, H8300_IDE_GAP*8, "ide-h8300"))
goto out_busy;
if (!request_region(CONFIG_H8300_IDE_ALT, H8300_IDE_GAP, "ide-h8300")) {
Expand All @@ -205,7 +207,6 @@ static int __init h8300_ide_init(void)
index = hwif->index;
ide_init_port_hw(hwif, &hw);
hwif_setup(hwif);
printk(KERN_INFO "ide%d: H8/300 generic IDE interface\n", index);

idx[0] = index;

Expand Down

0 comments on commit 740c397

Please sign in to comment.