projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8f461
)
fix realtek phy id in forcedeth
author
Willy Tarreau
<
[email protected]
>
Thu, 23 Aug 2007 19:35:41 +0000
(21:35 +0200)
committer
Jeff Garzik
<
[email protected]
>
Sat, 25 Aug 2007 06:30:57 +0000
(
02:30
-0400)
As noticed by Chuck Ebbert, commit
c5e3ae8823693b260ce1f217adca8add1bc0b3de
introduced a copy-paste typo, as realtek phy is 0x732 and not 0x1c1. Obvious
fix below suggested by Ayaz Abdulla.
Signed-off-by: Willy Tarreau <
[email protected]
>
Cc: Ayaz Abdulla <
[email protected]
>
Cc: Chuck Ebbert <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
drivers/net/forcedeth.c
patch
|
blob
|
history
diff --git
a/drivers/net/forcedeth.c
b/drivers/net/forcedeth.c
index 10f4e3b551685f4f55fae0bc778993d59da5c7f0..1938d6dfc8631db80e77ef3040f7d1e876f2e805 100644
(file)
--- a/
drivers/net/forcedeth.c
+++ b/
drivers/net/forcedeth.c
@@
-552,7
+552,7
@@
union ring_type {
#define PHY_OUI_MARVELL 0x5043
#define PHY_OUI_CICADA 0x03f1
#define PHY_OUI_VITESSE 0x01c1
-#define PHY_OUI_REALTEK 0x0
1c1
+#define PHY_OUI_REALTEK 0x0
732
#define PHYID1_OUI_MASK 0x03ff
#define PHYID1_OUI_SHFT 6
#define PHYID2_OUI_MASK 0xfc00