Rev 3205 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3205 | Rev 3346 | ||
---|---|---|---|
Line 632... | Line 632... | ||
632 | 632 | ||
Line 633... | Line 633... | ||
633 | ; Fill in the direct call addresses into the struct |
633 | ; Fill in the direct call addresses into the struct |
634 | 634 | ||
635 | mov [device.reset], reset |
- | |
636 | mov [device.transmit], transmit |
- | |
637 | mov [device.get_MAC], read_mac |
635 | mov [device.reset], reset |
638 | mov [device.set_MAC], .fail |
636 | mov [device.transmit], transmit |
Line 639... | Line 637... | ||
639 | mov [device.unload], unload |
637 | mov [device.unload], unload |
Line 1004... | Line 1002... | ||
1004 | out dx, ax |
1002 | out dx, ax |
Line 1005... | Line 1003... | ||
1005 | 1003 | ||
1006 | ; Set the mtu, kernel will be able to send now |
1004 | ; Set the mtu, kernel will be able to send now |
Line -... | Line 1005... | ||
- | 1005 | mov [device.mtu], 1514 |
|
- | 1006 | ||
- | 1007 | ; Set link state to unknown |
|
1007 | mov [device.mtu], 1514 |
1008 | mov [device.state], ETH_LINK_UNKOWN |
1008 | 1009 | ||
1009 | ; say reset was successfull |
- | |
1010 | xor eax, eax |
1010 | ; say reset was successfull |
Line 1011... | Line 1011... | ||
1011 | 1011 | xor eax, eax |