Changeset 97a62fe in mainline for uspace/drv/pciintel/pci.h
- Timestamp:
- 2011-02-14T21:41:50Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cd0684d
- Parents:
- 7df0477e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/pciintel/pci.h
r7df0477e r97a62fe 45 45 #define PCI_MAX_HW_RES 8 46 46 47 typedef struct pciintel_bus { 48 /** DDF device node */ 49 device_t *dnode; 50 uint32_t conf_io_addr; 51 void *conf_data_port; 52 void *conf_addr_port; 53 fibril_mutex_t conf_mutex; 54 } pci_bus_t; 55 47 56 typedef struct pci_fun_data { 57 pci_bus_t *busptr; 48 58 function_t *fnode; 49 59 … … 55 65 hw_resource_list_t hw_resources; 56 66 } pci_fun_t; 57 58 typedef struct pciintel_bus {59 /** DDF device node */60 device_t *dnode;61 uint32_t conf_io_addr;62 void *conf_data_port;63 void *conf_addr_port;64 fibril_mutex_t conf_mutex;65 } pci_bus_t;66 67 67 68 extern void pci_fun_create_match_ids(pci_fun_t *); … … 79 80 extern void pci_add_interrupt(pci_fun_t *, int); 80 81 81 extern pci_fun_t *pci_fun_new( void);82 extern pci_fun_t *pci_fun_new(pci_bus_t *); 82 83 extern void pci_fun_init(pci_fun_t *, int, int, int); 83 84 extern void pci_fun_delete(pci_fun_t *); 84 extern voidpci_fun_create_name(pci_fun_t *);85 extern char *pci_fun_create_name(pci_fun_t *); 85 86 86 87 extern void pci_bus_scan(pci_bus_t *, int);
Note:
See TracChangeset
for help on using the changeset viewer.