Rev 1561 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1561 | Rev 2544 | ||
---|---|---|---|
Line 447... | Line 447... | ||
447 | 447 | ||
Line 448... | Line 448... | ||
448 | ; If the device was already loaded, find the device number and return it in eax |
448 | ; If the device was already loaded, find the device number and return it in eax |
449 | 449 | ||
450 | .find_devicenum: |
- | |
451 | DEBUGF 2,"Trying to find device number of already registered device\n" |
450 | .find_devicenum: |
452 | mov ebx, eax |
451 | DEBUGF 2,"Trying to find device number of already registered device\n" |
453 | call NetPtrToNum ; This kernel procedure converts a pointer to device struct in ebx |
452 | call NetPtrToNum ; This kernel procedure converts a pointer to device struct in ebx |
454 | ; into a device number in edi |
453 | ; into a device number in edi |
455 | mov eax, edi ; Application wants it in eax instead |
454 | mov eax, edi ; Application wants it in eax instead |