Подкорректирую. Патч для 6.1-R, 6.2-R:
--- src/sys/pci/if_stereg.h 2005/09/15 19:16:29 1.18.2.2
+++ src/sys/pci/if_stereg.h 2007/03/19 06:58:47 1.18.2.3
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/pci/if_stereg.h,v 1.18.2.2 2005/09/15 19:16:29 jhb Exp $
+ * $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/pci/if_stereg.h,v 1.18.2.3 2007/03/19 06:58:47 yongari Exp $
*/
/*
@@ -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
--- src/sys/pci/if_ste.c 2006/03/17 21:30:57 1.84.2.7
+++ src/sys/pci/if_ste.c 2007/03/19 06:58:47 1.84.2.8
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/pci/if_ste.c,v 1.84.2.7 2006/03/17 21:30:57 glebius Exp $");
+__FBSDID("$FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sys/pci/if_ste.c,v 1.84.2.8 2007/03/19 06:58:47 yongari Exp $");
#ifdef HAVE_KERNEL_OPTION_HEADERS
#include "opt_device_polling.h"
@@ -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 }
};
|