diff options
author | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-01-02 19:22:39 +0000 |
---|---|---|
committer | Marc Balmer <mbalmer@cvs.openbsd.org> | 2007-01-02 19:22:39 +0000 |
commit | 9bab9e143a76bc8940746c4151dfa18dc814571a (patch) | |
tree | e20a1a88b680d3b3acd2cddfbb93794f1fe2de19 /sys/dev/pci/if_malo_pci.c | |
parent | 7fb614193bec906617aa3e8b00b7240e52355204 (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/if_malo_pci.c')
0 files changed, 0 insertions, 0 deletions