mv643xx_eth: print driver version on init
Print the mv643xx_eth driver version on init to help debugging. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
This commit is contained in:
parent
7f106c1d05
commit
7dde154d3d
|
@ -2249,7 +2249,8 @@ static int mv643xx_eth_shared_probe(struct platform_device *pdev)
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
if (!mv643xx_eth_version_printed++)
|
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;
|
ret = -EINVAL;
|
||||||
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
|
||||||
|
|
Loading…
Reference in New Issue