PR/32386: Dawid Szymanski (arhea). Add support for the 8169SB chipset.

This commit is contained in:
rpaulo 2005-12-25 19:55:40 +00:00
parent 30a362ab71
commit 333596ccdb
2 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtl81x9reg.h,v 1.13 2005/12/11 12:21:28 christos Exp $ */
/* $NetBSD: rtl81x9reg.h,v 1.14 2005/12/25 19:55:40 rpaulo Exp $ */
/*
* Copyright (c) 1997, 1998
@ -148,6 +148,7 @@
#define RTK_HWREV_8169 0x00000000
#define RTK_HWREV_8169S 0x04000000
#define RTK_HWREV_8169SB 0x10000000
#define RTK_HWREV_8110S 0x00800000
#define RTK_HWREV_8139 0x60000000
#define RTK_HWREV_8139A 0x70000000

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_re_pci.c,v 1.11 2005/11/23 18:56:22 riz Exp $ */
/* $NetBSD: if_re_pci.c,v 1.12 2005/12/25 19:55:41 rpaulo Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@ -41,7 +41,7 @@
* Senior Networking Software Engineer
* Wind River Systems
*
* NetBSD bus-specific frontends for written by
* Netbsd bus-specific frontends for written by
* Jonathan Stone <jonathan@netbsd.org>
*/
@ -106,6 +106,8 @@ static const struct rtk_type re_devs[] = {
"RealTek 8169 Gigabit Ethernet" },
{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8169S,
"RealTek 8169S Single-chip Gigabit Ethernet" },
{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8169SB,
"RealTek 8169SB Single-chip Gigabit Ethernet" },
{ PCI_VENDOR_COREGA, PCI_PRODUCT_COREGA_LAPCIGT, RTK_HWREV_8169S,
"Corega CG-LAPCIGT Gigabit Ethernet" },
{ PCI_VENDOR_REALTEK, PCI_PRODUCT_REALTEK_RT8169, RTK_HWREV_8110S,
@ -130,6 +132,7 @@ static const struct rtk_hwrev re_hwrevs[] = {
{ RTK_HWREV_8139CPLUS, RTK_8139CPLUS, "C+"},
{ RTK_HWREV_8169, RTK_8169, "8169"},
{ RTK_HWREV_8169S, RTK_8169, "8169S"},
{ RTK_HWREV_8169SB, RTK_8169, "8169SB"},
{ RTK_HWREV_8110S, RTK_8169, "8110S"},
{ RTK_HWREV_8100, RTK_8139, "8100"},
{ RTK_HWREV_8101, RTK_8139, "8101"},