diff options
author | yongari <yongari@FreeBSD.org> | 2009-04-20 07:13:04 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2009-04-20 07:13:04 +0000 |
commit | 77dde87e614931b4a487e724c03c1187d87220af (patch) | |
tree | 86a9be2333612463f20d3fcff594f34cf3b29192 /sys/pci | |
parent | 53ec7b000ff939e8a5285b9ba3b09c75c87493a7 (diff) | |
download | FreeBSD-src-77dde87e614931b4a487e724c03c1187d87220af.zip FreeBSD-src-77dde87e614931b4a487e724c03c1187d87220af.tar.gz |
For RTL8139C+ controllers, have controller handle padding short
checksum offload frames. Software workaround used for broken
controllers(RTL8169, RTL8168, RTL8168B) seem to cause watchdog
timeouts on RTL8139C+.
Introduce a new flag RL_FLAG_AUTOPAD to mark automatic padding
feature of controller and set it for RTL8139C+ and controllers that
use new descriptor format. This fixes watchdog timeouts seen on
RTL8139C+.
Reported by: Dimitri Rodis < DimitriR <> integritasystems dot com >
Tested by: Dimitri Rodis < DimitriR <> integritasystems dot com >
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_rlreg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/pci/if_rlreg.h b/sys/pci/if_rlreg.h index d3e09bf..1dee81e 100644 --- a/sys/pci/if_rlreg.h +++ b/sys/pci/if_rlreg.h @@ -880,6 +880,7 @@ struct rl_softc { int rl_txstart; uint32_t rl_flags; #define RL_FLAG_MSI 0x0001 +#define RL_FLAG_AUTOPAD 0x0002 #define RL_FLAG_PHYWAKE 0x0008 #define RL_FLAG_NOJUMBO 0x0010 #define RL_FLAG_PAR 0x0020 |