ac6f23c3cf
appeared in the guest OS. Full description: > After much grovelling through the 8390 docs, I think this is the > correct answer to the odd-length packet problem I was having with > the ne2k driver under Linux. > > According to the datasheet, the 8390 always accesses its buffer > memory in word-size chunks if the WTS bit of the DCR is set. So > it will always send a word to the host bus interface if WTS==1. > It's up to the host bus interface to deliver the the number of > requested bytes to the host. So disallowing a byte read when the > WTS bit is set is wrong (IMO) as the bus interface may allow it, > as the NE2000 appears to. > > The patch to ne2k.h bumps the receive buffer memory size to 32K. > This fixes the "out-of-bounds chipmem read" errors I was getting. > > Can someone with an NE2K datasheet verify these changes? They > jibe with the Linux ne.c driver, anyway. |
||
---|---|---|
bochs | ||
bochs-performance | ||
CVSROOT | ||
sfsite |