diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-11-30 13:20:12 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-11-30 13:20:12 +0000 |
commit | 4e61cbbf5e849c008b6c1fbab68219163f7b22b3 (patch) | |
tree | 8b089672423482e31e07d8d1adb7f41023075dff /target/linux | |
parent | c60af08e1719aab5d207169eeb3cc223db9e6001 (diff) | |
download | upstream-4e61cbbf5e849c008b6c1fbab68219163f7b22b3.tar.gz upstream-4e61cbbf5e849c008b6c1fbab68219163f7b22b3.tar.bz2 upstream-4e61cbbf5e849c008b6c1fbab68219163f7b22b3.zip |
ag71xx driver: fix a typo
SVN-Revision: 13445
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h | 2 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h index 05adeabbbb..83f026f0cd 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx.h @@ -37,7 +37,7 @@ #define ETH_FCS_LEN 4 #define AG71XX_DRV_NAME "ag71xx" -#define AG71XX_DRV_VERSION "0.5.2" +#define AG71XX_DRV_VERSION "0.5.3" #define AG71XX_NAPI_TX 1 diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c index 5c440c95bc..d99d5145d2 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c @@ -257,7 +257,7 @@ static void ag71xx_hw_set_macaddr(struct ag71xx *ag, unsigned char *mac) u32 t; t = (((u32) mac[0]) << 24) | (((u32) mac[1]) << 16) - | (((u32) mac[2]) << 8) | ((u32) mac[2]); + | (((u32) mac[2]) << 8) | ((u32) mac[3]); ag71xx_wr(ag, AG71XX_REG_MAC_ADDR1, t); |