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 348... | Line 348... | ||
348 | 348 | ||
Line 349... | Line 349... | ||
349 | allocate_and_clear ebx, device.size, .fail ; Allocate the buffer for device structure |
349 | allocate_and_clear ebx, device.size, .fail ; Allocate the buffer for device structure |
350 | 350 | ||
351 | mov [device.reset], reset |
- | |
352 | mov [device.transmit], transmit |
- | |
353 | mov [device.get_MAC], read_mac |
351 | mov [device.reset], reset |
354 | mov [device.set_MAC], write_mac |
352 | mov [device.transmit], transmit |
Line 355... | Line 353... | ||
355 | mov [device.unload], unload |
353 | mov [device.unload], unload |
Line 651... | Line 649... | ||
651 | rep stosd |
649 | rep stosd |
Line 652... | Line 650... | ||
652 | 650 | ||
653 | ; Set the mtu, kernel will be able to send now |
651 | ; Set the mtu, kernel will be able to send now |
Line -... | Line 652... | ||
- | 652 | mov [device.mtu], ETH_FRAME_LEN |
|
- | 653 | ||
- | 654 | ; Set link state to unknown |
|
654 | mov [device.mtu], ETH_FRAME_LEN |
655 | mov [device.state], ETH_LINK_UNKOWN |
655 | 656 | ||
656 | ; Indicate that we have successfully reset the card |
657 | ; Indicate that we have successfully reset the card |
Line 657... | Line 658... | ||
657 | xor eax, eax |
658 | xor eax, eax |