aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-03-18 10:44:15 +0000
committerJonas Gorski <jogo@openwrt.org>2015-03-18 10:44:15 +0000
commit5abe49b74ed399880c9f16e0fac2e1a2b302f9d7 (patch)
treead35d5b05e00fabc4e233c94060b2a908bf63e8c /target/linux/generic
parent4c704212192d7715c25fd7c556bbcbcb159a75c5 (diff)
downloadmaster-187ad058-5abe49b74ed399880c9f16e0fac2e1a2b302f9d7.tar.gz
master-187ad058-5abe49b74ed399880c9f16e0fac2e1a2b302f9d7.tar.bz2
master-187ad058-5abe49b74ed399880c9f16e0fac2e1a2b302f9d7.zip
b53: reverse duplex bit meaning for IMP state override register
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic')
-rw-r--r--target/linux/generic/files/drivers/net/phy/b53/b53_regs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h b/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
index ba509154f6..4899cc4a2c 100644
--- a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
+++ b/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
@@ -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)