[SqNOS] New release: RTL8139 support, TCP/IP "working", native
gera at corest.com
Mon Jul 31 15:19:13 UTC 2006
Gerardo Richarte wrote:
> swiki: http://minnow.cc.gatech.edu/squeak/1762
> This release includes two NetworkingDevices: LancePCIDevice and
> Realtek8139PCIDevice, the former implementing support, at least, for
> VMWare virtual cards, and the latter for a very common real network card.
I just found a stupid bug I forgot to patch before, so if you
downloaded this version and want to test it in real hardware using a
Realtek 8139, you need to change a method: (sorry for that)
Realtek8139PCIDevice>>sendNow: anEthernetPacket on: descriptorIndex
| str |
str := anEthernetPacket asString padded: #right to: 60 with: $ .
(self transmitStartAddress: descriptorIndex) stringAt: 1 put: str.
self transmitStatus: descriptorIndex put: str size.
This new version pads ethernet packets to a minimum of 60 bytes,
because the card does not support auto padding of small packets. You
will need this for almost anything (TCP SYNs and TCP SYN/ACK are < 60
bytes long for example).
again, sorry for this.
More information about the Squeak-dev