jaypipes / pcidb

Small golang library for querying PCI database (pciids) information
Apache License 2.0
33 stars 15 forks source link

Add option for direct path to pci.ids #24

Closed pearsonk closed 3 years ago

pearsonk commented 3 years ago

For systems placing the pci.ids database in a location other than

/usr/share/misc/pci.ids Signed-off-by: Kevin Pearson
pearsonk commented 3 years ago

This accommodates systems like OpenXT that store the PCI database in unconventional locations, or development systems that wish to use the database of a target system without reconfiguring the host environment.

pearsonk commented 3 years ago

Had an oops with a git rebase, will resubmit soon

pearsonk commented 3 years ago

Simplified DirectPath to Path, changed behavior to not enumerate cache or conventional locations when Path is set.