summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2007-08-23 21:35:41 +0200
committerJeff Garzik <jeff@garzik.org>2007-08-25 02:30:57 -0400
commitba685fb2abd71162bea6895a99449c1071b01402 (patch)
tree7ee207e784a4634b22be17a9b9ca1c012aaac963
parent1a8f46100b657f533ce677e79bc27c6794c91c46 (diff)
downloadlinux-3.10-ba685fb2abd71162bea6895a99449c1071b01402.tar.gz
linux-3.10-ba685fb2abd71162bea6895a99449c1071b01402.tar.bz2
linux-3.10-ba685fb2abd71162bea6895a99449c1071b01402.zip
fix realtek phy id in forcedeth
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 <w@1wt.eu> Cc: Ayaz Abdulla <aabdulla@nvidia.com> Cc: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/forcedeth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index 10f4e3b5516..1938d6dfc86 100644
--- 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 0x01c1
+#define PHY_OUI_REALTEK 0x0732
#define PHYID1_OUI_MASK 0x03ff
#define PHYID1_OUI_SHFT 6
#define PHYID2_OUI_MASK 0xfc00