diff options
-rw-r--r-- | sys/pci/if_ste.c | 4 | ||||
-rw-r--r-- | 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 28eadec..674bf7b 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 9ff620e..5c1f8ff 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 |