RTL8139: Difference between revisions

no edit summary
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 68:
ex:
<source lang="c">
//ioaddr is obtained from PCI configuration
char rx_buffer[8192+16]; // declare the local buffer space (8k + header)
outportd(ioaddr + 0x30, (unsigned long)rx_buffer); // send dword memory location to RBSTART (0x30)
</source>
=== Set IMR + ISR ===
Anonymous user