summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorproski <proski>2006-08-02 06:05:48 +0000
committerproski <proski>2006-08-02 06:05:48 +0000
commit3343f394e78650708db636195c38d47aec9ac108 (patch)
tree95ec18f822eeefe4103e4a5a1c35965a5fb024b3
parentf995e315d26208516015260d32f7190d70d7a7bb (diff)
Use at76_usb for tarball and ethtool, drop "v" from version
-rw-r--r--Makefile5
-rw-r--r--at76c503.c4
-rw-r--r--at76c503.h2
3 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index f0347b7..8c6fb35 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ DISTFILES = $(SRCS) $(HDRS) Makefile README COPYING CHANGELOG
# get the version from at76c503.h
ifndef M
VERSION = $(shell sed -n 's/^\#define.*DRIVER_VERSION.*"\(.*\)".*$$/\1/p' at76c503.h)
-DISTNAME = at76c503-$(VERSION)
+DISTNAME = at76_usb-$(VERSION)
DISTDIR = $(DISTNAME)
endif
@@ -91,10 +91,11 @@ ChangeLog: CVS/Entries
cvs2cl
dist:
- [ -d $(DISTNAME) ] && rm -rf $(DISTNAME) || true
+ rm -rf $(DISTNAME)
mkdir $(DISTNAME)
cp -f $(DISTFILES) $(DISTNAME)
tar zcvf $(DISTNAME).tar.gz $(DISTNAME)
+ rm -rf $(DISTNAME)
rmmod:
-rmmod $(obj-m:%.o=%)
diff --git a/at76c503.c b/at76c503.c
index 8b9d88e..1a57155 100644
--- a/at76c503.c
+++ b/at76c503.c
@@ -156,7 +156,7 @@ static unsigned long spin_l_istate_flags;
/* Version Information */
-#define DRIVER_NAME "at76c503"
+#define DRIVER_NAME "at76_usb"
#define DRIVER_AUTHOR \
"Oliver Kurth <oku@masqmail.cx>, Joerg Albert <joerg.albert@gmx.de>, " \
"Alex <alex@foogod.com>, Nick Jones, Balint Seeber <n0_5p4m_p13453@hotmail.com>"
@@ -6216,7 +6216,7 @@ static void at76c503_get_drvinfo(struct net_device *netdev,
{
struct at76c503 *dev = (struct at76c503 *)netdev->priv;
- strncpy(info->driver, "at76c503", sizeof(info->driver) - 1);
+ strncpy(info->driver, DRIVER_NAME, sizeof(info->driver) - 1);
strncpy(info->version, DRIVER_VERSION, sizeof(info->version));
info->version[sizeof(info->version)-1] = '\0';
diff --git a/at76c503.h b/at76c503.h
index 9918c61..3c5c954 100644
--- a/at76c503.h
+++ b/at76c503.h
@@ -29,7 +29,7 @@
#include <net/ieee80211.h>
/* current driver version */
-#define DRIVER_VERSION "v0.14dev"
+#define DRIVER_VERSION "0.14dev"
/* our private ioctl's */