PR/4510: William Coldwell: Add TI thunderlan support.

This commit is contained in:
christos 1997-11-16 22:33:19 +00:00
parent 98ec14c8e6
commit 9279ce1dc1
2 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_tl.c,v 1.2 1997/10/21 05:54:31 bouyer Exp $ */
/* $NetBSD: if_tl.c,v 1.3 1997/11/16 22:33:19 christos Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
@ -250,7 +250,8 @@ tl_pci_probe(parent, match, aux)
{
struct pci_attach_args *pa = (struct pci_attach_args *) aux;
if (PCI_VENDORID(pa->pa_id) != PCI_VENDOR_COMPAQ)
if ((PCI_VENDORID(pa->pa_id) != PCI_VENDOR_COMPAQ) &&
(PCI_VENDORID(pa->pa_id) != PCI_VENDOR_TI))
return 0;
switch(PCI_CHIPID(pa->pa_id)) {
case PCI_PRODUCT_COMPAQ_N100TX:
@ -261,6 +262,7 @@ tl_pci_probe(parent, match, aux)
case PCI_PRODUCT_COMPAQ_DP4000:
case PCI_PRODUCT_COMPAQ_NF3P_BNC:
case PCI_PRODUCT_COMPAQ_NF3P:
case PCI_PRODUCT_TI_TLAN:
return 1;
default:
return 0;
@ -360,6 +362,10 @@ tl_pci_attach(parent, self, aux)
model = "Compaq NetFlex 3/P";
sc->mii.adapter_id = COMPAQ_NETFLEX;
break;
case PCI_PRODUCT_TI_TLAN:
model = "Texas Instruments ThunderLAN";
sc->mii.adapter_id = TI_TLAN;
break;
default:
model = "unknown ThunderLAN board!\n";
}

View File

@ -1,4 +1,4 @@
$NetBSD: pcidevs,v 1.44 1997/10/27 23:27:35 thorpej Exp $
$NetBSD: pcidevs,v 1.45 1997/11/16 22:33:21 christos Exp $
/*
* Copyright (c) 1995, 1996 Christopher G. Demetriou
@ -893,6 +893,7 @@ product TEKRAM DC290 0xdc29 DC-290(M)
product TEKRAM2 DC690C 0x690c DC-690C
/* Texas Instruments products */
product TI TLAN 0x0500 TLAN
product TI PCI1130 0xac12 PCI1130
product TI PCI1131 0xac15 PCI1131
product TI PCI2030 0xac20 PCI2030