[U-Boot] net: rtl8169: Support RTL-8168c/8111c
diff mbox series

Message ID 20190911171906.13991-1-thierry.reding@gmail.com
State New
Delegated to: Joe Hershberger
Headers show
  • [U-Boot] net: rtl8169: Support RTL-8168c/8111c
Related show

Commit Message

Thierry Reding Sept. 11, 2019, 5:19 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

This version of the RTL-8168 chip can be found on some add-in cards sold
by CSL-Computer GmbH & Co. KG. The chip isn't special in any way, but it
needs to have the ChipCmd register programmed after the DMA descriptors
have been set up, so make sure that happens by adding an entry to the
chip information table.

Signed-off-by: Thierry Reding <treding@nvidia.com>
 drivers/net/rtl8169.c | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c
index 521e5909a256..d887d00928f6 100644
--- a/drivers/net/rtl8169.c
+++ b/drivers/net/rtl8169.c
@@ -252,6 +252,7 @@  static struct {
 	{"RTL-8169sc/8110sc",	0x18, 0xff7e1880,},
 	{"RTL-8168b/8111sb",	0x30, 0xff7e1880,},
 	{"RTL-8168b/8111sb",	0x38, 0xff7e1880,},
+	{"RTL-8168c/8111c",	0x3c, 0xff7e1880,},
 	{"RTL-8168d/8111d",	0x28, 0xff7e1880,},
 	{"RTL-8168evl/8111evl",	0x2e, 0xff7e1880,},
 	{"RTL-8168/8111g",	0x4c, 0xff7e1880,},