b53: reverse duplex bit meaning for IMP state override register
authorJonas Gorski <jogo@openwrt.org>
Wed, 18 Mar 2015 10:44:15 +0000 (10:44 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 18 Mar 2015 10:44:15 +0000 (10:44 +0000)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44875

target/linux/generic/files/drivers/net/phy/b53/b53_regs.h

index ba509154f61a483f76790c55397518f91fe3dded..4899cc4a2cd7bc1703eed901d367513d97fbf6db 100644 (file)
@@ -75,7 +75,7 @@
 /* IMP Port state override register (8 bit) */
 #define B53_PORT_OVERRIDE_CTRL         0x0e
 #define   PORT_OVERRIDE_LINK           BIT(0)
-#define   PORT_OVERRIDE_HALF_DUPLEX    BIT(1) /* 0 = Full Duplex */
+#define   PORT_OVERRIDE_FULL_DUPLEX    BIT(1) /* 0 = Half Duplex */
 #define   PORT_OVERRIDE_SPEED_S                2
 #define   PORT_OVERRIDE_SPEED_10M      (0 << PORT_OVERRIDE_SPEED_S)
 #define   PORT_OVERRIDE_SPEED_100M     (1 << PORT_OVERRIDE_SPEED_S)