projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
upgrade the ixp4xx ethernet driver to v0.3.1, split the Gateway 7001 support to two...
[openwrt.git]
/
package
/
switch
/
src
/
switch-adm.c
diff --git
a/package/switch/src/switch-adm.c
b/package/switch/src/switch-adm.c
index
beaf9ca
..
85805f6
100644
(file)
--- a/
package/switch/src/switch-adm.c
+++ b/
package/switch/src/switch-adm.c
@@
-26,7
+26,7
@@
* 02110-1301, USA.
*/
* 02110-1301, USA.
*/
-#include <linux/
config
.h>
+#include <linux/
autoconf
.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/if.h>
@@
-223,7
+223,7
@@
static __u32 adm_rreg(__u8 table, __u8 addr)
__u8 bits[6] = {
0xFF, 0xFF, 0xFF, 0xFF,
(0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6),
__u8 bits[6] = {
0xFF, 0xFF, 0xFF, 0xFF,
(0x06 << 4) | ((table & 0x01) << 3 | (addr&64)>>6),
- ((addr&6
2
)<<2)
+ ((addr&6
3
)<<2)
};
__u8 rbits[4];
};
__u8 rbits[4];
This page took
0.021087 seconds
and
4
git commands to generate.