summaryrefslogtreecommitdiffstats
path: root/drivers/net/mv643xx_eth.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-07-15 12:20:30 +0200
committerLennert Buytenhek <buytenh@marvell.com>2008-07-24 06:22:58 +0200
commit7dde154d3d0d9701ecfb5533017a8f1a20bb4214 (patch)
treed966d11f413282216573c4e508fcda65a26a41d8 /drivers/net/mv643xx_eth.c
parentmv643xx_eth: use symbolic MII register addresses and values (diff)
downloadlinux-7dde154d3d0d9701ecfb5533017a8f1a20bb4214.tar.xz
linux-7dde154d3d0d9701ecfb5533017a8f1a20bb4214.zip
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>
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r--drivers/net/mv643xx_eth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c
index 5bed6b33c7bc..006ad45ddb84 100644
--- a/drivers/net/mv643xx_eth.c
+++ b/drivers/net/mv643xx_eth.c
@@ -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);