Skip to content

Instantly share code, notes, and snippets.

@klange
Last active August 29, 2015 14:01
Show Gist options
  • Save klange/00a97949e75c0963e878 to your computer and use it in GitHub Desktop.
Save klange/00a97949e75c0963e878 to your computer and use it in GitHub Desktop.
toaru-0.7.2-1ed5be7 /# rtl
Located an RTL 8139: 0x00000300
COMMAND register before: 0x0103
COMMAND register after: 0x0107
COMMAND register after: 0x0107
Interrupt Line: 0000000b
BAR0: 0x0000c001
BAR1: 0xfebd1000
RTL iobase: 0x0000c000
Determining mac address...
52:54:00:12:34:56
Enabling RTL8139.
Resetting RTL8139.
Done resetting RTL8139.
Buffers:
rx 0x0199e000 [phys 0x01c1e000 and 0x01c1f000 and 0x01c20000]
tx 0x01900000 [phys 0x01c45000]
tx 0x0198c000 [phys 0x02176000]
tx 0x0198f000 [phys 0x021ab000]
tx 0x01904000 [phys 0x020e4000]
tx 0x01993000 [phys 0x022af000]
Initializing receive buffer.
Enabling IRQs.
Configuring transmit
Configuring receive buffer.
Enabling receive and transmit.
Resetting rx stats
Sending DHCP discover
Awoken from sleep, checking receive buffer: 0x0199e000
If I'm right, DHCP wants to assign us 10.0.2.15
Resending DHCP discover (todo: replace this with a DHCP request)
Awoken from sleep, checking receive buffer: 0x0199e000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment