diff options
author | Ryan Stone <rstone@FreeBSD.org> | 2015-03-01 00:59:35 +0000 |
---|---|---|
committer | Ryan Stone <rstone@FreeBSD.org> | 2015-03-01 00:59:35 +0000 |
commit | 7fdbba5e46120ad831725c7633c5dce5bd1f192e (patch) | |
tree | 4e04cbb4218945c822cb1e66ad720a6dfeccc70a /usr.sbin/pciconf/pciconf.h | |
parent | bdc48af26462b937e3bca9959a219e3d807d82ae (diff) |
Teach pciconf how to dump out SR-IOV capability
Differential Revision: https://reviews.freebsd.org/D1639
Reviewed by: jhb
MFC after: 1 month
Sponsored by: Sandvine Inc.
Notes
Notes:
svn path=/head/; revision=279466
Diffstat (limited to 'usr.sbin/pciconf/pciconf.h')
-rw-r--r-- | usr.sbin/pciconf/pciconf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pciconf/pciconf.h b/usr.sbin/pciconf/pciconf.h index 042c4a1bc234..734007eba920 100644 --- a/usr.sbin/pciconf/pciconf.h +++ b/usr.sbin/pciconf/pciconf.h @@ -37,6 +37,7 @@ void list_caps(int fd, struct pci_conf *p); void list_errors(int fd, struct pci_conf *p); uint8_t pci_find_cap(int fd, struct pci_conf *p, uint8_t id); uint16_t pcie_find_cap(int fd, struct pci_conf *p, uint16_t id); +void print_bar(int fd, struct pci_conf *p, const char *label, uint16_t bar); uint32_t read_config(int fd, struct pcisel *sel, long reg, int width); #endif |