diff options
author | yongari <yongari@FreeBSD.org> | 2011-11-16 22:05:38 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-11-16 22:05:38 +0000 |
commit | c0296e4e57fcd0f0ed7f81c76003bd877cd630e3 (patch) | |
tree | 162389b2cb8961a33d81d1fc74edc9a9f5cb0880 | |
parent | 8d68c8534003c910e1b76915bf23ad3adb9884a6 (diff) | |
download | FreeBSD-src-c0296e4e57fcd0f0ed7f81c76003bd877cd630e3.zip FreeBSD-src-c0296e4e57fcd0f0ed7f81c76003bd877cd630e3.tar.gz |
Add preliminary support for RTL8411 PCIe Gigabit ethernet with
integrated card reader.
H/W donated by: RealTek Semiconductor Corp.
-rw-r--r-- | sys/dev/re/if_re.c | 2 | ||||
-rw-r--r-- | sys/pci/if_rlreg.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/re/if_re.c b/sys/dev/re/if_re.c index 9398579..90b23ed 100644 --- a/sys/dev/re/if_re.c +++ b/sys/dev/re/if_re.c @@ -231,6 +231,7 @@ static const struct rl_hwrev const re_hwrevs[] = { { RL_HWREV_8168DP, RL_8169, "8168DP/8111DP", RL_JUMBO_MTU_9K }, { RL_HWREV_8168E, RL_8169, "8168E/8111E", RL_JUMBO_MTU_9K}, { RL_HWREV_8168E_VL, RL_8169, "8168E/8111E-VL", RL_JUMBO_MTU_6K}, + { RL_HWREV_8411, RL_8169, "8411", RL_JUMBO_MTU_9K}, { 0, 0, NULL, 0 } }; @@ -1415,6 +1416,7 @@ re_attach(device_t dev) RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; break; case RL_HWREV_8168E_VL: + case RL_HWREV_8411: sc->rl_flags |= RL_FLAG_PHYWAKE | RL_FLAG_PAR | RL_FLAG_DESCV2 | RL_FLAG_MACSTAT | RL_FLAG_CMDSTOP | RL_FLAG_AUTOPAD | RL_FLAG_JUMBOV2; diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index 4e0332f..4cfe04f 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -179,6 +179,7 @@ #define RL_HWREV_8168CP 0x3C800000 #define RL_HWREV_8105E 0x40800000 #define RL_HWREV_8402 0x44000000 +#define RL_HWREV_8411 0x48800000 #define RL_HWREV_8139 0x60000000 #define RL_HWREV_8139A 0x70000000 #define RL_HWREV_8139AG 0x70800000 |