From c058886bf1e5fc34d63a74a9004f1fbf1886f98d Mon Sep 17 00:00:00 2001 From: wpaul Date: Mon, 12 Apr 1999 20:38:45 +0000 Subject: Add support for the 3cSOHO100-TX, which is a "hurricane" chipset (cut-down version of the "cyclone" for the small office/home office "cheap bastard" market). Basically the same as a 3c905B but without Wake-on-LAN, ROM socket, etc... --- sys/pci/if_xl.c | 8 ++++++-- sys/pci/if_xlreg.h | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'sys/pci') diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c index 79b1859..68ce720 100644 --- a/sys/pci/if_xl.c +++ b/sys/pci/if_xl.c @@ -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_xl.c,v 1.74 1999/04/11 17:37:48 wpaul Exp $ + * $Id: if_xl.c,v 1.75 1999/04/12 20:23:08 wpaul Exp $ */ /* @@ -49,6 +49,7 @@ * 3Com 3c905B-TX 10/100Mbps/RJ-45 * 3Com 3c905B-FL/FX 10/100Mbps/Fiber-optic * 3Com 3c980-TX 10/100Mbps server adapter + * 3Com 3cSOHO100-TX 10/100Mbps/RJ-45 * Dell Optiplex GX1 on-board 3c918 10/100Mbps/RJ-45 * Dell Precision on-board 3c905B 10/100Mbps/RJ-45 * Dell Latitude laptop docking station embedded 3c905-TX @@ -151,7 +152,7 @@ #if !defined(lint) static const char rcsid[] = - "$Id: if_xl.c,v 1.74 1999/04/11 17:37:48 wpaul Exp $"; + "$Id: if_xl.c,v 1.75 1999/04/12 20:23:08 wpaul Exp $"; #endif /* @@ -180,6 +181,8 @@ static struct xl_type xl_devs[] = { "3Com 3c905B-COMBO Fast Etherlink XL" }, { TC_VENDORID, TC_DEVICEID_CYCLONE_10_100BT_SERV, "3Com 3c980 Fast Etherlink XL" }, + { TC_VENDORID, TC_DEVICEID_HURRICANE_SOHO100TX, + "3Com 3cSOHO100-TX OfficeConnect" }, { 0, 0, NULL } }; @@ -1301,6 +1304,7 @@ static void xl_mediacheck(sc) case TC_DEVICEID_CYCLONE_10_100BT: /* 3c905B-TX */ case TC_DEVICEID_CYCLONE_10_100_COMBO: /* 3c905B-COMBO */ case TC_DEVICEID_CYCLONE_10_100BT_SERV: /* 3c980-TX */ + case TC_DEVICEID_HURRICANE_SOHO100TX: /* 3cSOHO100-TX */ sc->xl_media = XL_MEDIAOPT_BTX; sc->xl_xcvr = XL_XCVR_AUTO; printf("xl%d: guessing 10/100 internal\n", sc->xl_unit); diff --git a/sys/pci/if_xlreg.h b/sys/pci/if_xlreg.h index 6ba164d..5a2b41c 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.21 1999/04/11 15:29:46 wpaul Exp $ + * $Id: if_xlreg.h,v 1.22 1999/04/12 20:23:08 wpaul Exp $ */ #define XL_EE_READ 0x0080 /* read, 5 bit address */ @@ -623,6 +623,7 @@ struct xl_stats { #define TC_DEVICEID_CYCLONE_10_100_COMBO 0x9058 #define TC_DEVICEID_CYCLONE_10_100FX 0x905A #define TC_DEVICEID_CYCLONE_10_100BT_SERV 0x9800 +#define TC_DEVICEID_HURRICANE_SOHO100TX 0x7646 /* * Texas Instruments PHY identifiers -- cgit v1.1