summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-03-04 03:48:38 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-03-04 03:48:38 +0000
commit48b701dc876c129c1ead6372065abd57e95a285a (patch)
tree8f82248989a46af90ec756201fc69e4412d47f78
parentdbf98463f81283e96c901114c0078322ff993023 (diff)
some defines for PHY detection.
From FreeBSD
-rw-r--r--sys/dev/ic/fxpreg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/fxpreg.h b/sys/dev/ic/fxpreg.h
index 274d74340aa..bd3f29821dd 100644
--- a/sys/dev/ic/fxpreg.h
+++ b/sys/dev/ic/fxpreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: fxpreg.h,v 1.10 2005/04/25 01:23:30 brad Exp $ */
+/* $OpenBSD: fxpreg.h,v 1.11 2006/03/04 03:48:37 brad Exp $ */
/*
* Copyright (c) 1995, David Greenman
@@ -290,6 +290,8 @@ struct fxp_stats {
/*
* PHY device types
*/
+#define FXP_PHY_DEVICE_MASK 0x3f00
+#define FXP_PHY_SERIAL_ONLY 0x8000
#define FXP_PHY_NONE 0
#define FXP_PHY_82553A 1
#define FXP_PHY_82553C 2