RTL8139: Difference between revisions
→Configuring receive buffer (RCR)
[unchecked revision] | [unchecked revision] |
mNo edit summary |
|||
Line 82:
You can enable different "matching" rules:
* '''AB - Accept Broadcast''': Accept broadcast packets sent to mac ff:ff:ff:ff:ff:ff
* '''AM - Accept Multicast''': Accept multicast packets.
* '''APM - Accept
* '''AAP
You can also enable a nice option in this register : the WRAP option. It enables the Rx buffer to act as a ring buffer: if a packet is being written near the end of the buffer and the RTL8139 knows you've already handled data before this (thanks to CAPR), the packet will continue at the beginning of the buffer.
Line 94:
outportl(0x44, 0xf | (1 << 7)); // (1 << 7) is the WRAP bit, 0xf is AB+AM+APM+AAP
</source>
=== Enable Receive and Transmitter ===
|