summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xlreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-09-04 16:22:15 +0000
committerwpaul <wpaul@FreeBSD.org>1998-09-04 16:22:15 +0000
commit5592ace7c53a51b5ad7f2379b7970f1c5d8898ed (patch)
treef722d1e9b11a86f155f50aa1eccf0be8ebdc86c2 /sys/pci/if_xlreg.h
parent099f92f50dfc6d5ada42f8465e4d198514a13c0f (diff)
downloadFreeBSD-src-5592ace7c53a51b5ad7f2379b7970f1c5d8898ed.zip
FreeBSD-src-5592ace7c53a51b5ad7f2379b7970f1c5d8898ed.tar.gz
Modify the xl_mediacheck() routine to also test for the case where the
XCVR value read from the EEPROM is completely wrong. I've had one report of a 3c900 card that returns an xcvr value of 14, which is impossible (the manual states that all vales above 8 are reserved). If the value is out of the expe Add PCI vendor ID for the 3c980-TX server adapter card, which apparently also uses the cyclone chip. Graciously supplied Mats O Jansson <maja@cntw.com>. Also noted by Mats, the 10mpbs cyclone adapters should be named 3c900B, not 3c905B. I haven't actually encountered a 10mbps only cyclone adapter yet, nor anybody who has one, but this makes sense given the naming scheme used for the older boomerang adapters.
Diffstat (limited to 'sys/pci/if_xlreg.h')
-rw-r--r--sys/pci/if_xlreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h
index 6a13517..4a6756c 100644
--- a/sys/pci/if_xlreg.h
+++ b/sys/pci/if_xlreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_xlreg.h,v 1.14 1998/08/23 21:30:17 wpaul Exp $
+ * $Id: if_xlreg.h,v 1.15 1998/09/04 14:43:56 wpaul Exp $
*/
#define XL_EE_READ 0x0080 /* read, 5 bit address */
@@ -637,7 +637,7 @@ struct xl_stats {
#define TC_DEVICEID_CYCLONE_10BT_COMBO 0x9005
#define TC_DEVICEID_CYCLONE_10_100BT 0x9055
#define TC_DEVICEID_CYCLONE_10_100BT4 0x9056
-
+#define TC_DEVICEID_CYCLONE_10_100BT_SERV 0x9800
/*
* Texas Instruments PHY identifiers
OpenPOWER on IntegriCloud