/* These identify the driver base version and may not be removed. */
 static char version[] =
-KERN_INFO DRV_NAME " PCI Ethernet driver v" DRV_VERSION " (" DRV_RELDATE ")\n";
+"PCI Ethernet driver v" DRV_VERSION " (" DRV_RELDATE ")";
 
 MODULE_AUTHOR("Jeff Garzik <jgarzik@pobox.com>");
 MODULE_DESCRIPTION("Intel/Digital 21040/1 series PCI Ethernet driver");
 
 #ifndef MODULE
        if (board_idx == 0)
-               printk("%s", version);
+               pr_info("%s\n", version);
 #endif
 
        /* allocate a new ethernet device structure, and fill in defaults */
 static int __init de_init (void)
 {
 #ifdef MODULE
-       printk("%s", version);
+       pr_info("%s\n", version);
 #endif
        return pci_register_driver(&de_driver);
 }
 
 /* Global variable declaration ----------------------------- */
 static int __devinitdata printed_version;
 static const char version[] __devinitconst =
-       KERN_INFO DRV_NAME ": Davicom DM9xxx net driver, version "
-       DRV_VERSION " (" DRV_RELDATE ")\n";
+       "Davicom DM9xxx net driver, version " DRV_VERSION " (" DRV_RELDATE ")";
 
 static int dmfe_debug;
 static unsigned char dmfe_media_mode = DMFE_AUTO;
        DMFE_DBUG(0, "dmfe_init_one()", 0);
 
        if (!printed_version++)
-               printk(version);
+               pr_info("%s\n", version);
 
        /*
         *      SPARC on-board DM910x chips should be handled by the main
 {
        int rc;
 
-       printk(version);
+       pr_info("%s\n", version);
        printed_version = 1;
 
        DMFE_DBUG(0, "init_module() ", debug);
 
                if (sig == 0x09811317) {
                        tp->flags |= COMET_PM;
                        tp->wolinfo.supported = WAKE_PHY | WAKE_MAGIC;
-                       printk(KERN_INFO "tulip_init_one: Enabled WOL support for AN983B\n");
+                       pr_info("%s: Enabled WOL support for AN983B\n",
+                               __func__);
                }
        }
        tp->pdev = pdev;
                tulip_set_wolopts(pdev, tp->wolinfo.wolopts);
                rc = pci_enable_wake(pdev, pstate, tp->wolinfo.wolopts);
                if (rc)
-                       printk("tulip: pci_enable_wake failed (%d)\n", rc);
+                       pr_err("pci_enable_wake failed (%d)\n", rc);
        }
        pci_set_power_state(pdev, pstate);
 
 
 /* Global variable declaration ----------------------------- */
 static int __devinitdata printed_version;
 static const char version[] __devinitconst =
-       KERN_INFO DRV_NAME ": ULi M5261/M5263 net driver, version "
-       DRV_VERSION " (" DRV_RELDATE ")\n";
+       "ULi M5261/M5263 net driver, version " DRV_VERSION " (" DRV_RELDATE ")";
 
 static int uli526x_debug;
 static unsigned char uli526x_media_mode = ULI526X_AUTO;
        ULI526X_DBUG(0, "uli526x_init_one()", 0);
 
        if (!printed_version++)
-               printk(version);
+               pr_info("%s\n", version);
 
        /* Init network device */
        dev = alloc_etherdev(sizeof(*db));
        /* free allocated rx buffer */
        uli526x_free_rxbuffer(db);
 
-#if 0
-       /* show statistic counter */
-       printk(DRV_NAME ": FU:%lx EC:%lx LC:%lx NC:%lx LOC:%lx TXJT:%lx RESET:%lx RCR8:%lx FAL:%lx TT:%lx\n",
-               db->tx_fifo_underrun, db->tx_excessive_collision,
-               db->tx_late_collision, db->tx_no_carrier, db->tx_loss_carrier,
-               db->tx_jabber_timeout, db->reset_count, db->reset_cr8,
-               db->reset_fatal, db->reset_TXtimeout);
-#endif
-
        return 0;
 }
 
        txptr = db->tx_remove_ptr;
        while(db->tx_packet_cnt) {
                tdes0 = le32_to_cpu(txptr->tdes0);
-               /* printk(DRV_NAME ": tdes0=%x\n", tdes0); */
                if (tdes0 & 0x80000000)
                        break;
 
 
                /* Transmit statistic counter */
                if ( tdes0 != 0x7fffffff ) {
-                       /* printk(DRV_NAME ": tdes0=%x\n", tdes0); */
                        dev->stats.collisions += (tdes0 >> 3) & 0xf;
                        dev->stats.tx_bytes += le32_to_cpu(txptr->tdes1) & 0x7ff;
                        if (tdes0 & TDES0_ERR_MASK) {
                        /* error summary bit check */
                        if (rdes0 & 0x8000) {
                                /* This is a error packet */
-                               //printk(DRV_NAME ": rdes0: %lx\n", rdes0);
                                dev->stats.rx_errors++;
                                if (rdes0 & 1)
                                        dev->stats.rx_fifo_errors++;
                if ( time_after(jiffies, dev_trans_start(dev) + ULI526X_TX_TIMEOUT) ) {
                        db->reset_TXtimeout++;
                        db->wait_reset = 1;
-                       printk( "%s: Tx timeout - resetting\n",
-                              dev->name);
+                       netdev_err(dev, " Tx timeout - resetting\n");
                }
        }
 
                else
                        phy_mode = 0x1000;
 
-               /* printk(DRV_NAME ": Phy_mode %x ",phy_mode); */
                switch (phy_mode) {
                case 0x1000: db->op_mode = ULI526X_10MHF; break;
                case 0x2000: db->op_mode = ULI526X_10MFD; break;
 static int __init uli526x_init_module(void)
 {
 
-       printk(version);
+       pr_info("%s\n", version);
        printed_version = 1;
 
        ULI526X_DBUG(0, "init_module() ", debug);