Subversion Repositories Kolibri OS

Rev

Rev 1403 | Rev 1630 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1403 Rev 1404
Line 343... Line 343...
343
    };
343
    };
344
 
344
 
Line 345... Line 345...
345
    hdr = PciRead8(bus, devfn, PCI_HEADER_TYPE);
345
    hdr = PciRead8(bus, devfn, PCI_HEADER_TYPE);
Line 346... Line 346...
346
 
346
 
Line 347... Line 347...
347
    dev = (pci_dev_t*)kzalloc(sizeof(dev_t), 0);
347
    dev = (pci_dev_t*)kzalloc(sizeof(pci_dev_t), 0);
Line 348... Line 348...
348
 
348
 
349
    INIT_LIST_HEAD(&dev->link);
349
    INIT_LIST_HEAD(&dev->link);
Line 405... Line 405...
405
 
405
 
406
void pci_scan_bus(u32_t bus)
406
void pci_scan_bus(u32_t bus)
407
{
407
{
408
    u32_t devfn;
408
    u32_t devfn;
Line 409... Line 409...
409
    dev_t *dev;
409
    pci_dev_t *dev;
410
 
410