diff options
author | jdp <jdp@FreeBSD.org> | 2002-06-24 22:04:15 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 2002-06-24 22:04:15 +0000 |
commit | b1ccf3cc04aa8ece51e741bf2431114f28a23ce8 (patch) | |
tree | 9d95bd11ac50ac619424af7ab734054da674e3c6 /lib/libio | |
parent | ca21d675fc5f1a22da00120b055eec5dd50de069 (diff) | |
download | FreeBSD-src-b1ccf3cc04aa8ece51e741bf2431114f28a23ce8.zip FreeBSD-src-b1ccf3cc04aa8ece51e741bf2431114f28a23ce8.tar.gz |
Work around what appears to be a chip bug in the BCM5701 that shows
up when operating in PCI-X mode. For some received packets there is
data corruption in the first few bytes in that case. Aligning the
packet buffer eliminates the corruption. With this fix, the code
that offsets the packet buffer up by 2 bytes to align the payload is
disabled for BCM5701s operating in PCI-X mode. On the i386, which
permits unaligned accesses, the payload is left unaligned. On other
platforms, the packet is copied after reception to force alignment
of the payload. Obviously, this work-around reduces performance in
those cases (BCM5701 plus PCI-X) where it is in effect.
MFC after: 3 days
Diffstat (limited to 'lib/libio')
0 files changed, 0 insertions, 0 deletions