提交 7dde154d 编写于 作者: L Lennert Buytenhek 提交者: Lennert Buytenhek

mv643xx_eth: print driver version on init

Print the mv643xx_eth driver version on init to help debugging.
Signed-off-by: NLennert Buytenhek <buytenh@marvell.com>
上级 7f106c1d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册