Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/pciconf/pciconf.h
Context not available. | |||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD: head/usr.sbin/pciconf/pciconf.h 279466 2015-03-01 00:59:35Z rstone $ | ||||
*/ | */ | ||||
#ifndef __PCICONF_H__ | #ifndef __PCICONF_H__ | ||||
Context not available. | |||||
void list_errors(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); | 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); | 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); | uint32_t read_config(int fd, struct pcisel *sel, long reg, int width); | ||||
#endif | #endif | ||||
Context not available. |