]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mv643xx_eth: print driver version on init
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 15 Jul 2008 10:20:30 +0000 (12:20 +0200)
committerLennert Buytenhek <buytenh@marvell.com>
Thu, 24 Jul 2008 04:22:58 +0000 (06:22 +0200)
Print the mv643xx_eth driver version on init to help debugging.

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
drivers/net/mv643xx_eth.c

index 5bed6b33c7bc4bafe9aac9eba610ad088d28d207..006ad45ddb84554b964c479a81f73e5a3145d889 100644 (file)
@@ -2249,7 +2249,8 @@ static int mv643xx_eth_shared_probe(struct platform_device *pdev)
        int ret;
 
        if (!mv643xx_eth_version_printed++)
-               printk(KERN_NOTICE "MV-643xx 10/100/1000 Ethernet Driver\n");
+               printk(KERN_NOTICE "MV-643xx 10/100/1000 ethernet "
+                       "driver version %s\n", mv643xx_eth_driver_version);
 
        ret = -EINVAL;
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);