From 828463d0850b359dcd074916b15d6fd9a89e9846 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 23 Dec 2002 21:50:47 +0000 Subject: [PATCH] Change the chip description from "DFE-550TX" to "DL10050". The DL10050 chip is used on the 550TX and 580TX cards, probably others as well. --- sys/pci/if_ste.c | 4 ++-- sys/pci/if_stereg.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 28eadec6b66..674bf7b9070 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -83,7 +83,7 @@ static const char rcsid[] = */ static struct ste_type ste_devs[] = { { ST_VENDORID, ST_DEVICEID_ST201, "Sundance ST201 10/100BaseTX" }, - { DL_VENDORID, DL_DEVICEID_550TX, "D-Link DFE-550TX 10/100BaseTX" }, + { DL_VENDORID, DL_DEVICEID_DL10050, "D-Link DL10050 10/100BaseTX" }, { 0, 0, NULL } }; @@ -927,7 +927,7 @@ ste_attach(dev) * it is at 0 & 1. It is rev 0x12. */ if (pci_get_vendor(dev) == DL_VENDORID && - pci_get_device(dev) == DL_DEVICEID_550TX && + pci_get_device(dev) == DL_DEVICEID_DL10050 && pci_get_revid(dev) == 0x12 ) sc->ste_one_phy = 1; diff --git a/sys/pci/if_stereg.h b/sys/pci/if_stereg.h index 9ff620e6459..5c1f8ff88ad 100644 --- a/sys/pci/if_stereg.h +++ b/sys/pci/if_stereg.h @@ -40,10 +40,10 @@ #define ST_DEVICEID_ST201 0x0201 /* - * D-Link PCI device/vendor ID for the DFE-550TX. + * D-Link PCI device/vendor ID for the DL10050[AB] chip */ #define DL_VENDORID 0x1186 -#define DL_DEVICEID_550TX 0x1002 +#define DL_DEVICEID_DL10050 0x1002 /* * Register definitions for the Sundance Technologies ST201 PCI