diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-02-23 15:38:25 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-02-23 15:38:25 +0000 |
commit | 8f00b27bc3caf4e4036d6d83ba916b59d065dc30 (patch) | |
tree | 325fc5bac6d7242b136a9a01eff2b9af5c061463 /sys/pci/if_rl.c | |
parent | ac7d7a1d69aea5d73e04ba4147e586ed98ceee96 (diff) | |
download | FreeBSD-src-8f00b27bc3caf4e4036d6d83ba916b59d065dc30.zip FreeBSD-src-8f00b27bc3caf4e4036d6d83ba916b59d065dc30.tar.gz |
Add support for still more cheapo 10/100 cards: Delta Electronics and
Addtron appear to have their own VIA Rhine II and RealTek 8139 boards
with custom PCI vendor and device IDs. This commit updates the PCI
vendor and device lists in the vr and rl drivers so that we can probe
the additional devices.
Found by: nosing around the PCI vendor and device code list at:
http://www.halcyon.com/scripts/jboemler/pci/pcicode
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r-- | sys/pci/if_rl.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c index 943cbd6..eff59a1 100644 --- a/sys/pci/if_rl.c +++ b/sys/pci/if_rl.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_rl.c,v 1.10 1999/01/22 15:25:04 wpaul Exp $ + * $Id: if_rl.c,v 1.22 1999/02/23 06:42:42 wpaul Exp $ */ /* @@ -127,7 +127,7 @@ #ifndef lint static const char rcsid[] = - "$Id: if_rl.c,v 1.10 1999/01/22 15:25:04 wpaul Exp $"; + "$Id: if_rl.c,v 1.22 1999/02/23 06:42:42 wpaul Exp $"; #endif /* @@ -140,6 +140,10 @@ static struct rl_type rl_devs[] = { "RealTek 8139 10/100BaseTX" }, { ACCTON_VENDORID, ACCTON_DEVICEID_5030, "Accton MPX 5030/5038 10/100BaseTX" }, + { DELTA_VENDORID, DELTA_DEVICEID_8139, + "Delta Electronics 8139 10/100BaseTX" }, + { ADDTRON_VENDORID, ADDTRON_DEVICEID_8139, + "Addtron Technolgy 8139 10/100BaseTX" }, { 0, 0, NULL } }; @@ -1119,7 +1123,8 @@ rl_attach(config_id, unit) */ rl_read_eeprom(sc, (caddr_t)&rl_did, RL_EE_PCI_DID, 1, 0); - if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030) + if (rl_did == RT_DEVICEID_8139 || rl_did == ACCTON_DEVICEID_5030 || + rl_did == DELTA_DEVICEID_8139) sc->rl_type = RL_8139; else if (rl_did == RT_DEVICEID_8129) sc->rl_type = RL_8129; |