Rev 3639 | Rev 4467 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3639 | Rev 4334 | ||
---|---|---|---|
Line 620... | Line 620... | ||
620 | movzx eax, [device.irq_line] |
620 | movzx eax, [device.irq_line] |
621 | DEBUGF 1,"Attaching int handler to irq %x\n", eax:1 |
621 | DEBUGF 1,"Attaching int handler to irq %x\n", eax:1 |
622 | stdcall AttachIntHandler, eax, int_handler, dword 0 |
622 | stdcall AttachIntHandler, eax, int_handler, dword 0 |
623 | test eax, eax |
623 | test eax, eax |
624 | jnz @f |
624 | jnz @f |
625 | DEBUGF 1,"\nCould not attach int handler!\n" |
625 | DEBUGF 2,"Could not attach int handler!\n" |
626 | ; or eax, -1 |
626 | ; or eax, -1 |
627 | ; ret |
627 | ; ret |
628 | @@: |
628 | @@: |
Line 629... | Line 629... | ||
629 | 629 | ||
Line 1008... | Line 1008... | ||
1008 | stdcall KernelFree, [esp+4] |
1008 | stdcall KernelFree, [esp+4] |
1009 | ret 8 |
1009 | ret 8 |
Line 1010... | Line 1010... | ||
1010 | 1010 | ||
1011 | .fail: |
1011 | .fail: |
1012 | DEBUGF 1,"transmit failed\n" |
- | |
1013 | or eax, -1 |
1012 | DEBUGF 1,"transmit failed\n" |
- | 1013 | stdcall KernelFree, [esp+4] |
|
1014 | stdcall KernelFree, [esp+4] |
1014 | or eax, -1 |
Line 1015... | Line 1015... | ||
1015 | ret 8 |
1015 | ret 8 |
1016 | 1016 |