Rev 1614 | Rev 1949 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1614 | Rev 1629 | ||
---|---|---|---|
Line 19... | Line 19... | ||
19 | ;; ;; |
19 | ;; ;; |
20 | ;; See file COPYING for details ;; |
20 | ;; See file COPYING for details ;; |
21 | ;; ;; |
21 | ;; ;; |
22 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
22 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
Line 23... | Line 23... | ||
23 | 23 | ||
Line 24... | Line 24... | ||
24 | $Revision: 1614 $ |
24 | $Revision: 1629 $ |
25 | 25 | ||
26 | ;*************************************************************************** |
26 | ;*************************************************************************** |
27 | ; Function |
27 | ; Function |
Line 61... | Line 61... | ||
61 | ;cross |
61 | ;cross |
62 | mov eax,ebx |
62 | mov eax,ebx |
63 | mov ebx,ecx |
63 | mov ebx,ecx |
64 | mov ecx,edx |
64 | mov ecx,edx |
Line 65... | Line -... | ||
65 | - | ||
66 | align 4 |
- | |
67 | pci_api_drv: |
- | |
68 | 65 | ||
69 | cmp [pci_access_enabled],1 |
66 | cmp [pci_access_enabled],1 |
Line 70... | Line 67... | ||
70 | jne pci_service_not_supported |
67 | jne pci_service_not_supported |
Line 80... | Line 77... | ||
80 | end if |
77 | end if |
Line 81... | Line 78... | ||
81 | 78 | ||
82 | call dword [f62call+edx*4] |
79 | call dword [f62call+edx*4] |
83 | mov dword [esp+32],eax |
80 | mov dword [esp+32],eax |
- | 81 | ret |
|
- | 82 | ||
- | 83 | ||
- | 84 | align 4 |
|
- | 85 | pci_api_drv: |
|
- | 86 | ||
- | 87 | cmp [pci_access_enabled],1 |
|
- | 88 | jne .fail |
|
- | 89 | ||
- | 90 | cmp eax, 2 |
|
- | 91 | ja .fail |
|
- | 92 | ||
- | 93 | jmp dword [f62call+eax*4] |
|
- | 94 | ||
- | 95 | .fail: |
|
- | 96 | or eax,-1 |
|
- | 97 | ret |
|
- | 98 | ||
84 | ret |
99 | |
Line 85... | Line 100... | ||
85 | ;; ============================================ |
100 | ;; ============================================ |
86 | 101 | ||
87 | pci_fn_0: |
102 | pci_fn_0: |