Rev 7679 | Rev 8700 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7679 | Rev 7963 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | ;; GNU GENERAL PUBLIC LICENSE ;; |
19 | ;; GNU GENERAL PUBLIC LICENSE ;; |
20 | ;; Version 2, June 1991 ;; |
20 | ;; Version 2, June 1991 ;; |
21 | ;; ;; |
21 | ;; ;; |
22 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
22 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 23... | Line 23... | ||
23 | 23 | ||
Line 24... | Line 24... | ||
24 | $Revision: 7679 $ |
24 | $Revision: 7963 $ |
25 | 25 | ||
26 | uglobal |
26 | uglobal |
27 | net_10ms dd ? |
27 | net_10ms dd ? |
Line 835... | Line 835... | ||
835 | align 4 |
835 | align 4 |
836 | sys_protocols: |
836 | sys_protocols: |
837 | cmp bh, NET_DEVICES_MAX ; Check if device number exists |
837 | cmp bh, NET_DEVICES_MAX ; Check if device number exists |
838 | jae .doesnt_exist |
838 | jae .doesnt_exist |
Line 839... | Line 839... | ||
839 | 839 | ||
840 | mov esi, ebx |
840 | mov eax, ebx |
841 | and esi, 0x0000ff00 |
841 | and eax, 0x0000ff00 |
842 | shr esi, 6 ; now we have the device num * 4 in esi |
842 | shr eax, 6 ; now we have the device num * 4 in eax |
843 | cmp [esi + net_device_list], 0 ; check if device is running |
843 | cmp [eax + net_device_list], 0 ; check if device is running |
Line 844... | Line 844... | ||
844 | je .doesnt_exist |
844 | je .doesnt_exist |
Line 845... | Line 845... | ||
845 | 845 |