Changeset 83a2f43 in mainline for uspace/drv/pciintel/pci.c
- Timestamp:
- 2011-02-15T19:43:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- af6b5157
- Parents:
- 34588a80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/pciintel/pci.c
r34588a80 r83a2f43 72 72 #define PCI_BUS_FROM_FUN(fun) ((fun)->busptr) 73 73 74 static hw_resource_list_t *pciintel_get_resources( function_t *fnode)74 static hw_resource_list_t *pciintel_get_resources(ddf_fun_t *fnode) 75 75 { 76 76 pci_fun_t *fun = PCI_FUN(fnode); … … 81 81 } 82 82 83 static bool pciintel_enable_interrupt( function_t *fnode)83 static bool pciintel_enable_interrupt(ddf_fun_t *fnode) 84 84 { 85 85 /* TODO */ … … 93 93 }; 94 94 95 static d evice_ops_t pci_fun_ops;96 97 static int pci_add_device(d evice_t *);95 static ddf_dev_ops_t pci_fun_ops; 96 97 static int pci_add_device(ddf_dev_t *); 98 98 99 99 /** PCI bus driver standard operations */ … … 367 367 void pci_bus_scan(pci_bus_t *bus, int bus_num) 368 368 { 369 function_t *fnode;369 ddf_fun_t *fnode; 370 370 pci_fun_t *fun; 371 371 … … 459 459 } 460 460 461 static int pci_add_device(d evice_t *dnode)461 static int pci_add_device(ddf_dev_t *dnode) 462 462 { 463 463 pci_bus_t *bus = NULL; 464 function_t *ctl = NULL;464 ddf_fun_t *ctl = NULL; 465 465 bool got_res = false; 466 466 int rc; … … 633 633 printf(NAME ": HelenOS pci bus driver (intel method 1).\n"); 634 634 pciintel_init(); 635 return d river_main(&pci_driver);635 return ddf_driver_main(&pci_driver); 636 636 } 637 637
Note:
See TracChangeset
for help on using the changeset viewer.