From d18fb71eab43dc570479aa539df1583a3146fe7b Mon Sep 17 00:00:00 2001 From: yongari <yongari@FreeBSD.org> Date: Mon, 19 Mar 2007 06:58:47 +0000 Subject: [PATCH] MFC if_ste.c rev 1.98, if_stereg.h rev 1.22 to RELENG_6. Add new ST201 PCI id. --- sys/pci/if_ste.c | 3 ++- sys/pci/if_stereg.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index d6eca1e41577..efb89fa034c7 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -85,7 +85,8 @@ MODULE_DEPEND(ste, miibus, 1, 1, 1); * Various supported device vendors/types and their names. */ static struct ste_type ste_devs[] = { - { ST_VENDORID, ST_DEVICEID_ST201, "Sundance ST201 10/100BaseTX" }, + { ST_VENDORID, ST_DEVICEID_ST201_1, "Sundance ST201 10/100BaseTX" }, + { ST_VENDORID, ST_DEVICEID_ST201_2, "Sundance ST201 10/100BaseTX" }, { DL_VENDORID, DL_DEVICEID_DL10050, "D-Link DL10050 10/100BaseTX" }, { 0, 0, NULL } }; diff --git a/sys/pci/if_stereg.h b/sys/pci/if_stereg.h index eab5164062b3..050fbb0ebd93 100644 --- a/sys/pci/if_stereg.h +++ b/sys/pci/if_stereg.h @@ -37,7 +37,8 @@ * ST201 chip. */ #define ST_VENDORID 0x13F0 -#define ST_DEVICEID_ST201 0x0201 +#define ST_DEVICEID_ST201_1 0x0200 +#define ST_DEVICEID_ST201_2 0x0201 /* * D-Link PCI device/vendor ID for the DL10050[AB] chip