Changes in uspace/drv/bus/pci/pciintel/pci.h [184f2f8a:7acd787] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/pci/pciintel/pci.h
r184f2f8a r7acd787 37 37 #define PCI_H_ 38 38 39 #include <adt/list.h> 40 #include <ddi.h> 39 41 #include <ddf/driver.h> 40 #include "pci_regs.h"42 #include <fibril_synch.h> 41 43 42 44 #define PCI_MAX_HW_RES 10 … … 50 52 pio_window_t pio_win; 51 53 fibril_mutex_t conf_mutex; 54 /** List of functions (of pci_fun_t) */ 55 list_t funs; 52 56 } pci_bus_t; 53 57 … … 55 59 pci_bus_t *busptr; 56 60 ddf_fun_t *fnode; 61 /** Link to @c busptr->funs */ 62 link_t lfuns; 57 63 58 64 int bus; … … 71 77 } pci_fun_t; 72 78 79 extern pci_bus_t *pci_bus(ddf_dev_t *); 80 73 81 extern void pci_fun_create_match_ids(pci_fun_t *); 82 extern pci_fun_t *pci_fun_first(pci_bus_t *); 83 extern pci_fun_t *pci_fun_next(pci_fun_t *); 74 84 75 85 extern uint8_t pci_conf_read_8(pci_fun_t *, int);
Note:
See TracChangeset
for help on using the changeset viewer.