提交 ec3eef28 编写于 作者: H Holger Schurig 提交者: John W. Linville

[PATCH] libertas: let DRV_NAME be overridable

For now, it's "libertas" by default, but that is overwritten in
if_usb.c/if_bootcmd.c and in if_cs.c.
Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 435a1acb
...@@ -12,7 +12,9 @@ ...@@ -12,7 +12,9 @@
#define PROC_DEBUG #define PROC_DEBUG
#endif #endif
#define DRV_NAME "usb8xxx" #ifndef DRV_NAME
#define DRV_NAME "libertas"
#endif
#define LBS_DEB_ENTER 0x00000001 #define LBS_DEB_ENTER 0x00000001
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/usb.h> #include <linux/usb.h>
#define DRV_NAME "usb8xxx"
#include "defs.h" #include "defs.h"
#include "dev.h" #include "dev.h"
#include "if_usb.h" #include "if_usb.h"
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
#include <linux/list.h> #include <linux/list.h>
#include <linux/usb.h> #include <linux/usb.h>
#define DRV_NAME "usb8xxx"
#include "host.h" #include "host.h"
#include "decl.h" #include "decl.h"
#include "defs.h" #include "defs.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册