aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-07-15 06:20:30 -0400
committerLennert Buytenhek <buytenh@marvell.com>2008-07-24 00:22:58 -0400
commit7dde154d3d0d9701ecfb5533017a8f1a20bb4214 (patch)
treed966d11f413282216573c4e508fcda65a26a41d8
parent7f106c1d050c085c84d148ba56293e60b2c4e756 (diff)
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>
-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)
2249 int ret; 2249 int ret;
2250 2250
2251 if (!mv643xx_eth_version_printed++) 2251 if (!mv643xx_eth_version_printed++)
2252 printk(KERN_NOTICE "MV-643xx 10/100/1000 Ethernet Driver\n"); 2252 printk(KERN_NOTICE "MV-643xx 10/100/1000 ethernet "
2253 "driver version %s\n", mv643xx_eth_driver_version);
2253 2254
2254 ret = -EINVAL; 2255 ret = -EINVAL;
2255 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 2256 res = platform_get_resource(pdev, IORESOURCE_MEM, 0);