summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/strtoq.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2003-08-10 02:41:18 +0000
committerwpaul <wpaul@FreeBSD.org>2003-08-10 02:41:18 +0000
commitf150f539a814c1b031f421cf460b6848f23845c3 (patch)
tree2f7e4f2b4bbc7e9057e8330a869444a42f251fdb /lib/libc/stdlib/strtoq.c
parentaf325fd3af882a05dc76b02119f41725de0dd5ec (diff)
downloadFreeBSD-src-f150f539a814c1b031f421cf460b6848f23845c3.zip
FreeBSD-src-f150f539a814c1b031f421cf460b6848f23845c3.tar.gz
Grrr. There is a gratuitous difference in the RX descriptor status
word between the 8139C+ and the 8169. The 8139C+ has a 'frame alignment error bit' (bit 27) but the 8169 does not. Rather than simply mark this bit as reserved, RealTek removed it completely and shifted the remaining status bits one space to the left. This was causing rl_rxeofcplus() to misparse the error and checksum bits. To workaround this, rl_rxeofcplus() now shifts the rxstat word one bit to the right before testing any of the status bits (but after the frame length has been extracted).
Diffstat (limited to 'lib/libc/stdlib/strtoq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud