projects
/
openwrt
/
staging
/
ldir.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a818f3
)
ar71xx: fix a typo in the ar7240 dsa driver
author
Gabor Juhos
<juhosg@openwrt.org>
Tue, 9 Mar 2010 18:05:39 +0000
(18:05 +0000)
committer
Gabor Juhos
<juhosg@openwrt.org>
Tue, 9 Mar 2010 18:05:39 +0000
(18:05 +0000)
SVN-Revision: 20093
target/linux/ar71xx/files/net/dsa/ar7240.c
patch
|
blob
|
history
diff --git
a/target/linux/ar71xx/files/net/dsa/ar7240.c
b/target/linux/ar71xx/files/net/dsa/ar7240.c
index b681a345143a1694a4dd9d1932fca93770d50d4d..ba248151822255020ddbf08445638efb9e5730eb 100644
(file)
--- a/
target/linux/ar71xx/files/net/dsa/ar7240.c
+++ b/
target/linux/ar71xx/files/net/dsa/ar7240.c
@@
-523,7
+523,7
@@
static int ar7240_dsa_set_addr(struct dsa_switch *ds, u8 *addr)
ar7240sw_reg_write(as, AR7240_REG_MAC_ADDR0, t);
t = (addr[0] << 24) | (addr[1] << 16) | (addr[2] << 8) | addr[3];
- ar7240sw_reg_write(as, AR7240_REG_MAC_ADDR
0
, t);
+ ar7240sw_reg_write(as, AR7240_REG_MAC_ADDR
1
, t);
return 0;
}