mirror of https://github.com/hak5/openwrt-owl.git
parent
c60af08e17
commit
4e61cbbf5e
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue