[PATCH 08/14] ide-h8300: print driver banner message early

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-ide@...>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@...>, <linux-kernel@...>
Date: Tuesday, June 10, 2008 - 4:52 pm

Print driver banner message early and without interface number.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/h8300/ide-h8300.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: b/drivers/ide/h8300/ide-h8300.c
===================================================================
--- 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)
 	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")) {
@@ -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;
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 01/14] cmd640: fix warm-plug support for the secondar..., Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:50 pm)
[PATCH 14/14] ide: remove needless includes from setup-pci.c, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:53 pm)
[PATCH 13/14] ide: remove needless includes from ide-taskfil..., Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:52 pm)
[PATCH 12/14] ide: remove needless includes from ide.c, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:52 pm)
[PATCH 11/14] ide: remove superfluous BUG_ON() from set_geom..., Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:52 pm)
[PATCH 10/14] ide: allow any command requesting DMA data pha..., Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:52 pm)
[PATCH 09/14] ide-pnp: print driver banner message early, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:52 pm)
[PATCH 08/14] ide-h8300: print driver banner message early, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:52 pm)
[PATCH 07/14] ide: print message on error in ide_find_port_s..., Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:51 pm)
[PATCH 06/14] ide_platform: use struct ide_port_info, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:51 pm)
[PATCH 03/14] cmd640: add -&gt;init_dev method, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:51 pm)
[PATCH 05/14] ide-h8300: use struct ide_port_info, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:51 pm)
[PATCH 02/14] ide: -&gt;port_init_devs -&gt; -&gt;init_dev, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:51 pm)
[PATCH 04/14] rapide: use struct ide_port_info, Bartlomiej Zolnierkiewicz..., (Tue Jun 10, 4:51 pm)