pci_cfgreg.h (95ee2897e98f5d444f26ed2334cc7c439f9c16c6) | pci_cfgreg.h (1587a9db92c03c738bb3f0fc5874b43c961e7c99) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 1997, Stefan Esser <se@freebsd.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 44 unchanged lines hidden (view full) --- 53 CFGMECH_PCIE, 54}; 55 56extern int cfgmech; 57 58rman_res_t hostb_alloc_start(int type, rman_res_t start, rman_res_t end, rman_res_t count); 59int pcie_cfgregopen(uint64_t base, uint8_t minbus, uint8_t maxbus); 60int pci_cfgregopen(void); | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause 3 * 4 * Copyright (c) 1997, Stefan Esser <se@freebsd.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 44 unchanged lines hidden (view full) --- 53 CFGMECH_PCIE, 54}; 55 56extern int cfgmech; 57 58rman_res_t hostb_alloc_start(int type, rman_res_t start, rman_res_t end, rman_res_t count); 59int pcie_cfgregopen(uint64_t base, uint8_t minbus, uint8_t maxbus); 60int pci_cfgregopen(void); |
61u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes); 62void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes); | 61u_int32_t pci_cfgregread(int domain, int bus, int slot, int func, int reg, int bytes); 62void pci_cfgregwrite(int domain, int bus, int slot, int func, int reg, u_int32_t data, int bytes); |
63#ifdef __HAVE_PIR 64void pci_pir_open(void); 65int pci_pir_probe(int bus, int require_parse); 66int pci_pir_route_interrupt(int bus, int device, int func, int pin); 67#endif 68 69#endif /* !__X86_PCI_CFGREG_H__ */ | 63#ifdef __HAVE_PIR 64void pci_pir_open(void); 65int pci_pir_probe(int bus, int require_parse); 66int pci_pir_route_interrupt(int bus, int device, int func, int pin); 67#endif 68 69#endif /* !__X86_PCI_CFGREG_H__ */ |