Add support for RTL8111B chip, that can be found on some mainboards,
for example ASUS P5PL2. Tested by: Vadim Frolov <vadim uch.net>
This commit is contained in:
parent
542f05ce07
commit
e72f58bbd9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156988
@ -167,6 +167,8 @@ static struct rl_type re_devs[] = {
|
|||||||
"D-Link DGE-528(T) Gigabit Ethernet Adapter" },
|
"D-Link DGE-528(T) Gigabit Ethernet Adapter" },
|
||||||
{ RT_VENDORID, RT_DEVICEID_8139, RL_HWREV_8139CPLUS,
|
{ RT_VENDORID, RT_DEVICEID_8139, RL_HWREV_8139CPLUS,
|
||||||
"RealTek 8139C+ 10/100BaseTX" },
|
"RealTek 8139C+ 10/100BaseTX" },
|
||||||
|
{ RT_VENDORID, RT_DEVICEID_8111B, RL_HWREV_8111B,
|
||||||
|
"Realtek 8111B Single-Chip Gigabit Ethernet" },
|
||||||
{ RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169,
|
{ RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169,
|
||||||
"RealTek 8169 Gigabit Ethernet" },
|
"RealTek 8169 Gigabit Ethernet" },
|
||||||
{ RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169S,
|
{ RT_VENDORID, RT_DEVICEID_8169, RL_HWREV_8169S,
|
||||||
@ -197,6 +199,7 @@ static struct rl_hwrev re_hwrevs[] = {
|
|||||||
{ RL_HWREV_8110S, RL_8169, "8110S"},
|
{ RL_HWREV_8110S, RL_8169, "8110S"},
|
||||||
{ RL_HWREV_8100, RL_8139, "8100"},
|
{ RL_HWREV_8100, RL_8139, "8100"},
|
||||||
{ RL_HWREV_8101, RL_8139, "8101"},
|
{ RL_HWREV_8101, RL_8139, "8101"},
|
||||||
|
{ RL_HWREV_8111B, RL_8169, "8111B"},
|
||||||
{ 0, 0, NULL }
|
{ 0, 0, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -159,6 +159,7 @@
|
|||||||
#define RL_HWREV_8139CPLUS 0x74800000
|
#define RL_HWREV_8139CPLUS 0x74800000
|
||||||
#define RL_HWREV_8101 0x74c00000
|
#define RL_HWREV_8101 0x74c00000
|
||||||
#define RL_HWREV_8100 0x78800000
|
#define RL_HWREV_8100 0x78800000
|
||||||
|
#define RL_HWREV_8111B 0x30000000
|
||||||
|
|
||||||
#define RL_TXDMA_16BYTES 0x00000000
|
#define RL_TXDMA_16BYTES 0x00000000
|
||||||
#define RL_TXDMA_32BYTES 0x00000100
|
#define RL_TXDMA_32BYTES 0x00000100
|
||||||
@ -744,6 +745,7 @@ struct rl_softc {
|
|||||||
#define RT_DEVICEID_8129 0x8129
|
#define RT_DEVICEID_8129 0x8129
|
||||||
#define RT_DEVICEID_8138 0x8138
|
#define RT_DEVICEID_8138 0x8138
|
||||||
#define RT_DEVICEID_8139 0x8139
|
#define RT_DEVICEID_8139 0x8139
|
||||||
|
#define RT_DEVICEID_8111B 0x8168
|
||||||
#define RT_DEVICEID_8169 0x8169
|
#define RT_DEVICEID_8169 0x8169
|
||||||
#define RT_DEVICEID_8100 0x8100
|
#define RT_DEVICEID_8100 0x8100
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user