summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/libsupc++/vec.cc
diff options
context:
space:
mode:
authoryongari <yongari@FreeBSD.org>2010-04-29 18:00:42 +0000
committeryongari <yongari@FreeBSD.org>2010-04-29 18:00:42 +0000
commita570282110995e0f6d99702a9761d4373e4c1dc6 (patch)
tree7a303308fa45e98fa3c5ad135c53e7413191b1ae /contrib/libstdc++/libsupc++/vec.cc
parent76cab47064a41fa53a74e876f1f0024b16fcc959 (diff)
downloadFreeBSD-src-a570282110995e0f6d99702a9761d4373e4c1dc6.zip
FreeBSD-src-a570282110995e0f6d99702a9761d4373e4c1dc6.tar.gz
Enable FCS stripping and padding 10 bytes bit of RX MAC control
register. Due to lack of SiS190 controller, I'm not sure whether this is also applicable to SiS190 so this feature is only activated on SiS191 controller. The controller can pad 10 bytes before DMAing a received frame to RX buffer and received bytes include the padded bytes. This padding is very useful on strict-alignment architectures because driver does not have to copy received frame to align IP header on 4 bytes boundary. It also gives better RX performance on non-strict alignment architectures. Special thanks to xclin to give me valuable register information. Without his enthusiastic trial and errors this wouldn't be even possible. While I'm here tighten validity check of received frame. Controller clears RDS_CRCOK bit when it received bad CRC frames. xclin found that using loop back testing. Tested by: xclin <xclin <> cs dot nctu dot edu dot tw >
Diffstat (limited to 'contrib/libstdc++/libsupc++/vec.cc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud