pci_cfgreg.h (95ee2897e98f5d444f26ed2334cc7c439f9c16c6) pci_cfgreg.h (1587a9db92c03c738bb3f0fc5874b43c961e7c99)
1/*-
2 * Copyright (c) 2015 The FreeBSD Foundation
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 13 unchanged lines hidden (view full) ---

22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#ifndef _MACHINE_PCI_CFGREG_H
27#define _MACHINE_PCI_CFGREG_H
28
29int pci_cfgregopen(void);
1/*-
2 * Copyright (c) 2015 The FreeBSD Foundation
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 13 unchanged lines hidden (view full) ---

22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#ifndef _MACHINE_PCI_CFGREG_H
27#define _MACHINE_PCI_CFGREG_H
28
29int pci_cfgregopen(void);
30uint32_t pci_cfgregread(int, int, int, int, int);
31void pci_cfgregwrite(int, int, int, int, u_int32_t, int);
30uint32_t pci_cfgregread(int, int, int, int, int, int);
31void pci_cfgregwrite(int, int, int, int, int, uint32_t, int);
32
33#endif /* !_MACHINE_PCI_CFGREG_H */
32
33#endif /* !_MACHINE_PCI_CFGREG_H */