summaryrefslogtreecommitdiffstats
path: root/sys/dev/fxp/if_fxpreg.h
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-05-15 18:52:40 +0000
committerjlemon <jlemon@FreeBSD.org>2001-05-15 18:52:40 +0000
commita0eefc9e043aaecf577d8cbc39ad95a1c7195292 (patch)
tree2b38b1d20e302980a6c36eac9e5e67c134b093b3 /sys/dev/fxp/if_fxpreg.h
parent07867f9ae9525b0b7d04c311159e21a97c3fe97a (diff)
downloadFreeBSD-src-a0eefc9e043aaecf577d8cbc39ad95a1c7195292.zip
FreeBSD-src-a0eefc9e043aaecf577d8cbc39ad95a1c7195292.tar.gz
Use " |= " to enable special media handling for fxp with no MII, instead
of " &= ". Also change the MII PHY device mask to check the correct bits. Cookie to: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Pointy hat to: me
Diffstat (limited to 'sys/dev/fxp/if_fxpreg.h')
-rw-r--r--sys/dev/fxp/if_fxpreg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fxp/if_fxpreg.h b/sys/dev/fxp/if_fxpreg.h
index 9f7e686..a1c76b7 100644
--- a/sys/dev/fxp/if_fxpreg.h
+++ b/sys/dev/fxp/if_fxpreg.h
@@ -355,7 +355,7 @@ struct fxp_stats {
/*
* PHY device types
*/
-#define FXP_PHY_DEVICE_MASK 0x03f0
+#define FXP_PHY_DEVICE_MASK 0x3f00
#define FXP_PHY_SERIAL_ONLY 0x8000
#define FXP_PHY_NONE 0
#define FXP_PHY_82553A 1
OpenPOWER on IntegriCloud