RTL8139: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m changed QEmu to QEMU |
fix misleading info |
||
Line 83:
<source lang="c">
//ioaddr is obtained from PCI configuration
outportd(ioaddr + 0x30, (
▲ outportd(ioaddr + 0x30, (unsigned long)rx_buffer); // send dword memory location to RBSTART (0x30)
</source>
Note that 'rx_buffer' needs to be a pointer to a '''physical address'''. In this case a size of 8192 + 16 (8K + 16 bytes) is recommended, see below.
=== Set IMR + ISR ===
|