summaryrefslogtreecommitdiff
path: root/sys/dev/pci/esoreg.h
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2007-01-02 19:22:39 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2007-01-02 19:22:39 +0000
commit9bab9e143a76bc8940746c4151dfa18dc814571a (patch)
treee20a1a88b680d3b3acd2cddfbb93794f1fe2de19 /sys/dev/pci/esoreg.h
parent7fb614193bec906617aa3e8b00b7240e52355204 (diff)
Provide a new function, pci_findproduct(), which is analog to pci_findvendor().
Use these two functions in pci_devinfo() to remove some duplicated code and make it easier to read. Remove two now unused variables. This shrinks the size of the resulting object code. Drivers (or other kernel code) can now get at the PCI vendor and/or product strings using pci_findvendor() and pci_findproduct(). ok claudio, deraadt, mglocker
Diffstat (limited to 'sys/dev/pci/esoreg.h')
0 files changed, 0 insertions, 0 deletions