提交 12747784 编写于 作者: L Lennert Buytenhek 提交者: Jeff Garzik

[PATCH] ixp2000: add driver version, bump version to 0.2

Signed-off-by: NLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 8ce51d69
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#include "ixpdev_priv.h" #include "ixpdev_priv.h"
#include "ixpdev.h" #include "ixpdev.h"
#define DRV_MODULE_VERSION "0.2"
static int nds_count; static int nds_count;
static struct net_device **nds; static struct net_device **nds;
static int nds_open; static int nds_open;
...@@ -302,6 +304,8 @@ int ixpdev_init(int __nds_count, struct net_device **__nds, ...@@ -302,6 +304,8 @@ int ixpdev_init(int __nds_count, struct net_device **__nds,
__too_many_rx_or_tx_buffers(); __too_many_rx_or_tx_buffers();
} }
printk(KERN_INFO "IXP2000 MSF ethernet driver %s\n", DRV_MODULE_VERSION);
nds_count = __nds_count; nds_count = __nds_count;
nds = __nds; nds = __nds;
set_port_admin_status = __set_port_admin_status; set_port_admin_status = __set_port_admin_status;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册