From 7f95962fa2cc52d4fd29e1f16d93c0cee3d43803 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 11 Sep 2019 20:35:09 -0600 Subject: [PATCH] rtl8168d: match 8169 device and add documentation --- rtl8168d/config.toml | 2 +- rtl8168d/src/device.rs | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/rtl8168d/config.toml b/rtl8168d/config.toml index 72660448ff..a65ba291e3 100644 --- a/rtl8168d/config.toml +++ b/rtl8168d/config.toml @@ -1,5 +1,5 @@ [[drivers]] name = "RTL8168 NIC" class = 2 -ids = { 0x10ec = [0x8168] } +ids = { 0x10ec = [0x8168, 0x8169] } command = ["rtl8168d", "$NAME", "$BAR2", "$BARSIZE2", "$IRQ"] diff --git a/rtl8168d/src/device.rs b/rtl8168d/src/device.rs index 84f24203d5..502d66ec31 100644 --- a/rtl8168d/src/device.rs +++ b/rtl8168d/src/device.rs @@ -1,3 +1,6 @@ +// Supports Realtek RTL8168, RTL8169, and other compatible devices +// See https://people.freebsd.org/~wpaul/RealTek/rtl8169spec-121.pdf + use std::mem; use std::collections::BTreeMap;