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