]> err.no Git - linux-2.6/commitdiff
fix realtek phy id in forcedeth
authorWilly Tarreau <w@1wt.eu>
Thu, 23 Aug 2007 19:35:41 +0000 (21:35 +0200)
committerJeff Garzik <jeff@garzik.org>
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 <w@1wt.eu>
Cc: Ayaz Abdulla <aabdulla@nvidia.com>
Cc: Chuck Ebbert <cebbert@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/forcedeth.c

index 10f4e3b551685f4f55fae0bc778993d59da5c7f0..1938d6dfc8631db80e77ef3040f7d1e876f2e805 100644 (file)
@@ -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