From c5aca4635af16419b306ccc62fb1874123da8ab2 Mon Sep 17 00:00:00 2001 From: aaron Date: Tue, 18 Apr 2000 14:32:49 +0000 Subject: [PATCH] Set MII parameters for the other 3Com CardBus cards, not just 'C' revision. --- sys/dev/ic/xl.c | 6 +++++- sys/dev/ic/xlreg.h | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c index 5ea3fa6a541..b9dbb71882a 100644 --- a/sys/dev/ic/xl.c +++ b/sys/dev/ic/xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xl.c,v 1.1 2000/04/08 05:50:50 aaron Exp $ */ +/* $OpenBSD: xl.c,v 1.2 2000/04/18 14:32:49 aaron Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -56,6 +56,8 @@ * 3Com 3c450-TX 10/100Mbps/RJ-45 (Tornado ASIC) * 3Com 3c980-TX 10/100Mbps server adapter (Hurricane ASIC) * 3Com 3c980C-TX 10/100Mbps server adapter (Tornado ASIC) + * 3Com 3C575TX 10/100Mbps LAN CardBus PC Card + * 3Com 3C575BTX 10/100Mbps LAN CardBus PC Card * 3Com 3CCFE575CT 10/100Mbps LAN CardBus PC Card * 3Com 3cSOHO100-TX 10/100Mbps/RJ-45 (Hurricane ASIC) * Dell Optiplex GX1 on-board 3c918 10/100Mbps/RJ-45 @@ -980,6 +982,8 @@ void xl_choose_xcvr(sc, verbose) printf("xl%d: guessing 10/100 plus BNC/AUI\n", sc->xl_unit); break; + case TC_DEVICEID_3CCFE575_CARDBUS: + case TC_DEVICEID_3CCFE575BT_CARDBUS: case TC_DEVICEID_3CCFE575CT_CARDBUS: sc->xl_media = XL_MEDIAOPT_MII; sc->xl_xcvr = XL_XCVR_MII; diff --git a/sys/dev/ic/xlreg.h b/sys/dev/ic/xlreg.h index 2024d97788e..e14e5913d63 100644 --- a/sys/dev/ic/xlreg.h +++ b/sys/dev/ic/xlreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: xlreg.h,v 1.1 2000/04/08 05:50:50 aaron Exp $ */ +/* $OpenBSD: xlreg.h,v 1.2 2000/04/18 14:32:49 aaron Exp $ */ /* * Copyright (c) 1997, 1998 @@ -650,6 +650,8 @@ struct xl_stats { #define TC_DEVICEID_HURRICANE_10_100BT_SERV 0x9800 #define TC_DEVICEID_TORNADO_10_100BT_SERV 0x9805 #define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646 +#define TC_DEVICEID_3CCFE575_CARDBUS 0x5057 +#define TC_DEVICEID_3CCFE575BT_CARDBUS 0x5157 #define TC_DEVICEID_3CCFE575CT_CARDBUS 0x5257 /* -- 2.20.1