Changeset 250717cc in mainline for pci/libpci/pci.h
- Timestamp:
- 2006-05-16T09:30:42Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ec153a0
- Parents:
- 51d6f80
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pci/libpci/pci.h
r51d6f80 r250717cc 50 50 struct id_entry **id_hash; /* names.c */ 51 51 struct id_bucket *current_id_bucket; 52 int fd; /* proc: fd */53 int fd_rw; /* proc: fd opened read-write */54 struct pci_dev *cached_dev; /* proc: device the fd is for */55 int fd_pos; /* proc: current position */56 52 }; 57 53 … … 117 113 118 114 /* 119 * Filters120 */121 122 struct pci_filter {123 int domain, bus, slot, func; /* -1 = ANY */124 int vendor, device;125 };126 127 void pci_filter_init(struct pci_access *, struct pci_filter *);128 char *pci_filter_parse_slot(struct pci_filter *, char *);129 char *pci_filter_parse_id(struct pci_filter *, char *);130 int pci_filter_match(struct pci_filter *, struct pci_dev *);131 132 /*133 115 * Conversion of PCI ID's to names (according to the pci.ids file) 134 116 *
Note:
See TracChangeset
for help on using the changeset viewer.