Rev 5363 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5363 | Rev 7251 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
1 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
2 | ;; ;; |
2 | ;; ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2015. All rights reserved. ;; |
3 | ;; Copyright (C) KolibriOS team 2004-2018. All rights reserved. ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
4 | ;; Distributed under terms of the GNU General Public License ;; |
5 | ;; ;; |
5 | ;; ;; |
6 | ;; Broadcom NetXtreme 57xx driver for KolibriOS ;; |
6 | ;; Broadcom NetXtreme 57xx driver for KolibriOS ;; |
7 | ;; ;; |
7 | ;; ;; |
8 | ;; ;; |
8 | ;; ;; |
Line 156... | Line 156... | ||
156 | movzx ecx, byte [eax+2] |
156 | movzx ecx, byte [eax+2] |
157 | mov [ebx + device.pci_dev], ecx |
157 | mov [ebx + device.pci_dev], ecx |
Line 158... | Line 158... | ||
158 | 158 | ||
Line 159... | Line 159... | ||
159 | ; Now, it's time to find the base mmio addres of the PCI device |
159 | ; Now, it's time to find the base mmio addres of the PCI device |
- | 160 | ||
- | 161 | stdcall PCI_find_mmio, [ebx + device.pci_bus], [ebx + device.pci_dev] |
|
Line 160... | Line 162... | ||
160 | 162 | test eax, eax |
|
Line 161... | Line 163... | ||
161 | stdcall PCI_find_mmio32, [ebx + device.pci_bus], [ebx + device.pci_dev] |
163 | jz .destroy |
162 | - | ||
163 | ; Create virtual mapping of the physical memory |
- | |
164 | - | ||
165 | push 1Bh ; PG_SW+PG_NOCACHE |
164 | |
Line 166... | Line 165... | ||
166 | push 10000h ; size of the map |
165 | ; Create virtual mapping of the physical memory |
Line 167... | Line 166... | ||
167 | push eax |
166 |