summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorps <ps@FreeBSD.org>2003-06-17 15:02:28 +0000
committerps <ps@FreeBSD.org>2003-06-17 15:02:28 +0000
commit78a38f4ad23cae911dd3cd2c813338b731be47c7 (patch)
treefa4e844b2a708a30c547f35f3c2f3c746940fa57 /sys/dev/mii
parent6d534d8e046165eceeeee1a288da8f557d4aa386 (diff)
downloadFreeBSD-src-78a38f4ad23cae911dd3cd2c813338b731be47c7.zip
FreeBSD-src-78a38f4ad23cae911dd3cd2c813338b731be47c7.tar.gz
Fix bge at 10Mbit. The defines for 10-Half and 10-Full were swapped.
Shamed into fixing by: John Cagle <john.cagle@hp.com>
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/brgphyreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mii/brgphyreg.h b/sys/dev/mii/brgphyreg.h
index a2a2861..786f49d 100644
--- a/sys/dev/mii/brgphyreg.h
+++ b/sys/dev/mii/brgphyreg.h
@@ -224,8 +224,8 @@
#define BRGPHY_RES_100FD 0x0500 /* 100baseT full duplex */
#define BRGPHY_RES_100T4 0x0400 /* 100baseT4 */
#define BRGPHY_RES_100HD 0x0300 /* 100baseT half duplex */
-#define BRGPHY_RES_10HD 0x0200 /* 10baseT full duplex */
-#define BRGPHY_RES_10FD 0x0100 /* 10baseT half duplex */
+#define BRGPHY_RES_10FD 0x0200 /* 10baseT full duplex */
+#define BRGPHY_RES_10HD 0x0100 /* 10baseT half duplex */
#define BRGPHY_MII_ISR 0x1A /* interrupt status */
#define BRGPHY_ISR_PSERR 0x4000 /* Pair swap error */
OpenPOWER on IntegriCloud