From 5fb99dcabee7fd2e089a9a064f4cc1b3674992fb Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 22 Jan 2005 22:40:53 +0000 Subject: [PATCH] Bring in support for SUGOI LAN GIGA NIC made by System TALKS, Inc from a RealTek 8169SB. PR: 74262 Submitted by: Yoshikazu GOTO-san # Submitter notes that he's unsure of the revision string for 8169SB --- sys/dev/re/if_re.c | 3 +++ sys/pci/if_rlreg.h | 1 + 2 files changed, 4 insertions(+) diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 8440331da71..96931cde01e 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -166,6 +166,8 @@ static struct rl_type re_devs[] = { "RealTek 8169 Gigabit Ethernet" }, { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169S, "RealTek 8169S Single-chip Gigabit Ethernet" }, + { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169SB, + "RealTek 8169SB Single-chip Gigabit Ethernet" }, { RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8110S, "RealTek 8110S Single-chip Gigabit Ethernet" }, { COREGA_VENDORID, COREGA_DEVICEID_CGLAPCIGT, RL_HWREV_8169S, @@ -184,6 +186,7 @@ static struct rl_hwrev re_hwrevs[] = { { RL_HWREV_8139CPLUS, RL_8139CPLUS, "C+"}, { RL_HWREV_8169, RL_8169, "8169"}, { RL_HWREV_8169S, RL_8169, "8169S"}, + { RL_HWREV_8169SB, RL_8169, "8169SB"}, { RL_HWREV_8110S, RL_8169, "8110S"}, { RL_HWREV_8100, RL_8139, "8100"}, { RL_HWREV_8101, RL_8139, "8101"}, diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index fa3d046c59c..29c7baf90cf 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -147,6 +147,7 @@ #define RL_HWREV_8169 0x00000000 #define RL_HWREV_8169S 0x04000000 +#define RL_HWREV_8169SB 0x10000000 #define RL_HWREV_8110S 0x00800000 #define RL_HWREV_8139 0x60000000 #define RL_HWREV_8139A 0x70000000