ALL ethernet drivers: return success/failed for transmit function, dump packet when failing.

git-svn-id: svn://kolibrios.org@4334 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr
2013-12-08 14:34:08 +00:00
parent 2e246fedfa
commit 72c96117d0
10 changed files with 31 additions and 22 deletions

View File

@@ -622,7 +622,7 @@ reset:
stdcall AttachIntHandler, eax, int_handler, dword 0
test eax, eax
jnz @f
DEBUGF 1,"\nCould not attach int handler!\n"
DEBUGF 2,"Could not attach int handler!\n"
; or eax, -1
; ret
@@:
@@ -1010,8 +1010,8 @@ transmit:
.fail:
DEBUGF 1,"transmit failed\n"
or eax, -1
stdcall KernelFree, [esp+4]
or eax, -1
ret 8