Changeset b9f1585 in mainline for uspace/drv/bus/pci/pciintel/pci.h
- Timestamp:
- 2019-01-03T06:53:22Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 043d464f
- Parents:
- b4a4ad94 (diff), 7acd787 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/pci/pciintel/pci.h
rb4a4ad94 rb9f1585 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.