RTL8139: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
No edit summary |
No edit summary |
||
Line 4:
'''==Programming the RTL8139=='''
* Turning on the
* Software Reset!
* Init Recieve buffer
Line 11:
* Enable Reciever and Transmitter
----
'''-- Turning on the device --'''▼
Send 0x00 to the CONFIG_1 register (0x52) to set the LWAKE + LWPTN to active high.
this should essentially *power on* the device.
Line 30 ⟶ 32:
ex:
outportd(0x30, (unsigned long)rx_buffer); // send dword memory location to RBSTART (0x30)
'''-- Set IMR + ISR --'''
Line 44 ⟶ 46:
ex:
'''-- Enable Recieve and Transmitter --'''
Line 58 ⟶ 60:
ex:
written by:
--[[User:01000101|01000101]] 19:28, 1 November 2007 (CDT)
|