浏览代码

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

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Lennert Buytenhek 19 年之前
父节点
当前提交
127477840b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      drivers/net/ixp2000/ixpdev.c

+ 4 - 0
drivers/net/ixp2000/ixpdev.c

@@ -24,6 +24,8 @@
 #include "ixpdev_priv.h"
 #include "ixpdev.h"
 
+#define DRV_MODULE_VERSION	"0.2"
+
 static int nds_count;
 static struct net_device **nds;
 static int nds_open;
@@ -302,6 +304,8 @@ int ixpdev_init(int __nds_count, struct net_device **__nds,
 		__too_many_rx_or_tx_buffers();
 	}
 
+	printk(KERN_INFO "IXP2000 MSF ethernet driver %s\n", DRV_MODULE_VERSION);
+
 	nds_count = __nds_count;
 	nds = __nds;
 	set_port_admin_status = __set_port_admin_status;