Changeset aa85487 in mainline for uspace/lib/libpci
- Timestamp:
- 2010-03-07T15:11:56Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aadf01e
- Parents:
- 2e99277 (diff), 137691a (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. - Location:
- uspace/lib/libpci
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libpci/access.c
r2e99277 raa85487 51 51 } 52 52 53 static void pci_generic_error(c har *msg, ...)53 static void pci_generic_error(const char *msg, ...) 54 54 { 55 55 va_list args; … … 62 62 } 63 63 64 static void pci_generic_warn(c har *msg, ...)64 static void pci_generic_warn(const char *msg, ...) 65 65 { 66 66 va_list args; … … 72 72 } 73 73 74 static void pci_generic_debug(c har *msg, ...)74 static void pci_generic_debug(const char *msg, ...) 75 75 { 76 76 va_list args; … … 81 81 } 82 82 83 static void pci_null_debug(c har *msg UNUSED, ...)83 static void pci_null_debug(const char *msg UNUSED, ...) 84 84 { 85 85 } -
uspace/lib/libpci/internal.h
r2e99277 raa85487 13 13 14 14 struct pci_methods { 15 c har *name;15 const char *name; 16 16 void (*config) (struct pci_access *); 17 17 int (*detect) (struct pci_access *); -
uspace/lib/libpci/names.c
r2e99277 raa85487 299 299 } 300 300 301 c har *pci_lookup_name(struct pci_access *a, char *buf, int size, int flags,301 const char *pci_lookup_name(struct pci_access *a, char *buf, int size, int flags, 302 302 ...) 303 303 { -
uspace/lib/libpci/pci.h
r2e99277 raa85487 40 40 41 41 /* Functions you can override: */ 42 void (*error) (c har *msg, ...); /* Write error message and quit */43 void (*warning) (c har *msg, ...); /* Write a warning message */44 void (*debug) (c har *msg, ...); /* Write a debugging message */42 void (*error) (const char *msg, ...); /* Write error message and quit */ 43 void (*warning) (const char *msg, ...); /* Write a warning message */ 44 void (*debug) (const char *msg, ...); /* Write a debugging message */ 45 45 46 46 struct pci_dev *devices; /* Devices found on this bus */ … … 128 128 */ 129 129 130 c har *pci_lookup_name(struct pci_access *a, char *buf, int size, int flags,131 130 const char *pci_lookup_name(struct pci_access *a, char *buf, int size, 131 int flags, ...); 132 132 133 133 int pci_load_name_list(struct pci_access *a); /* Called automatically by pci_lookup_*() when needed; returns success */ -
uspace/lib/libpci/pci_ids.h
r2e99277 raa85487 1 1 /* DO NOT EDIT, THIS FILE IS AUTOMATICALLY GENERATED */ 2 c har *pci_ids[] = {2 const char *pci_ids[] = { 3 3 "0000 Gammagraphx, Inc.", 4 4 "001a Ascend Communications, Inc.",
Note:
See TracChangeset
for help on using the changeset viewer.