From: Jonas Gorski Date: Wed, 18 Mar 2015 10:44:15 +0000 (+0000) Subject: b53: reverse duplex bit meaning for IMP state override register X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=87568ebeacd733d211da5dcce8d82df4aa872b84;p=openwrt%2Fstaging%2F981213.git b53: reverse duplex bit meaning for IMP state override register Signed-off-by: Rafał Miłecki Signed-off-by: Jonas Gorski SVN-Revision: 44875 --- 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)