Rev 3155 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3155 | Rev 3205 | ||
---|---|---|---|
Line 387... | Line 387... | ||
387 | movzx ecx, byte [eax+2] |
387 | movzx ecx, byte [eax+2] |
388 | mov [device.pci_dev], ecx |
388 | mov [device.pci_dev], ecx |
Line 389... | Line 389... | ||
389 | 389 | ||
Line 390... | Line 390... | ||
390 | ; Now, it's time to find the base mmio addres of the PCI device |
390 | ; Now, it's time to find the base mmio addres of the PCI device |
Line 391... | Line 391... | ||
391 | 391 | ||
Line 392... | Line 392... | ||
392 | find_mmio32 [device.pci_bus], [device.pci_dev], [device.mmio_addr] |
392 | PCI_find_mmio32 |
393 | 393 | ||
Line 399... | Line 399... | ||
399 | call MapIoMem |
399 | call MapIoMem |
400 | mov [device.mmio_addr], eax |
400 | mov [device.mmio_addr], eax |
Line 401... | Line 401... | ||
401 | 401 | ||
Line 402... | Line 402... | ||
402 | ; We've found the mmio address, find IRQ now |
402 | ; We've found the mmio address, find IRQ now |
Line 403... | Line 403... | ||
403 | 403 | ||
404 | find_irq byte [device.pci_bus], byte [device.pci_dev], [device.irq_line] |
404 | PCI_find_irq |
Line 405... | Line 405... | ||
405 | 405 | ||
Line 482... | Line 482... | ||
482 | align 4 |
482 | align 4 |
483 | probe: |
483 | probe: |
Line 484... | Line 484... | ||
484 | 484 | ||
Line 485... | Line 485... | ||
485 | DEBUGF 1,"Probe\n" |
485 | DEBUGF 1,"Probe\n" |
Line 486... | Line 486... | ||
486 | 486 | ||
Line 487... | Line 487... | ||
487 | make_bus_master byte [device.pci_bus], byte [device.pci_dev] |
487 | PCI_make_bus_master |