PR/4510: William Coldwell: Recognize TI thunderlan.

This commit is contained in:
christos 1997-11-16 22:38:33 +00:00
parent 2542e3903a
commit 473310c0a4
2 changed files with 16 additions and 11 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mii_adapters_id.h,v 1.1 1997/10/17 17:33:57 bouyer Exp $ */
/* $NetBSD: mii_adapters_id.h,v 1.2 1997/11/16 22:38:33 christos Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
@ -30,11 +30,12 @@
*/
/* adapter types ( msb = vendor, lsb = board ) */
#define COMPAQ_INT_NETLIGENT_10_100 0x0001
#define COMPAQ_DUAL_NETLIGENT_10_100 0x0002
#define COMPAQ_NETLIGENT_10_100 0x0003
#define COMPAQ_NETLIGENT_10 0x0004
#define COMPAQ_DSKP4000 0x0005
#define COMPAQ_INT_NETFLEX 0x0006
#define COMPAQ_NETFLEX_BNC 0x0007
#define COMPAQ_NETFLEX 0x0008
#define COMPAQ_INT_NETLIGENT_10_100 0x0001
#define COMPAQ_DUAL_NETLIGENT_10_100 0x0002
#define COMPAQ_NETLIGENT_10_100 0x0003
#define COMPAQ_NETLIGENT_10 0x0004
#define COMPAQ_DSKP4000 0x0005
#define COMPAQ_INT_NETFLEX 0x0006
#define COMPAQ_NETFLEX_BNC 0x0007
#define COMPAQ_NETFLEX 0x0008
#define TI_TLAN 0x0013

View File

@ -1,4 +1,4 @@
/* $NetBSD: tlphy.c,v 1.2 1997/10/21 05:54:21 bouyer Exp $ */
/* $NetBSD: tlphy.c,v 1.3 1997/11/16 22:38:34 christos Exp $ */
/*
* Copyright (c) 1997 Manuel Bouyer. All rights reserved.
@ -81,7 +81,8 @@ tlphymatch(parent, match, aux)
{
mii_phy_t *phy = aux;
if (phy->phy_id == 0x40005014 || phy->phy_id == 0x40005015)
if (phy->phy_id == 0x40005013 || phy->phy_id == 0x40005014 ||
phy->phy_id == 0x40005015)
return 1;
return 0;
}
@ -112,6 +113,9 @@ tlphyattach(parent, self, aux)
case COMPAQ_NETFLEX_BNC:
sc->phy_link->phy_media = PHY_BNC | PHY_10baseT;
break;
case TI_TLAN:
sc->phy_link->phy_media = PHY_10baseT;
break;
default:
sc->phy_link->phy_media = PHY_AUI;
if (phy_media_probe(sc) != 0) {