1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-09 07:54:07 +02:00

[ar71xx] ag71xx driver: fix a typo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13445 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2008-11-30 13:20:12 +00:00
parent 1e4554001f
commit 6ca0b59753
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@
#define ETH_FCS_LEN 4 #define ETH_FCS_LEN 4
#define AG71XX_DRV_NAME "ag71xx" #define AG71XX_DRV_NAME "ag71xx"
#define AG71XX_DRV_VERSION "0.5.2" #define AG71XX_DRV_VERSION "0.5.3"
#define AG71XX_NAPI_TX 1 #define AG71XX_NAPI_TX 1

View File

@ -257,7 +257,7 @@ static void ag71xx_hw_set_macaddr(struct ag71xx *ag, unsigned char *mac)
u32 t; u32 t;
t = (((u32) mac[0]) << 24) | (((u32) mac[1]) << 16) 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); ag71xx_wr(ag, AG71XX_REG_MAC_ADDR1, t);