pci_pci.c (c6df6f5322f7004c71216391e1c0b374d853704a) pci_pci.c (97a410130f1eccd382455ec2515f8188c8c6cf64)
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier
5 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
6 * Copyright (c) 2000 BSDi
7 * All rights reserved.
8 *

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

128 DEVMETHOD(pcib_try_enable_ari, pcib_try_enable_ari),
129 DEVMETHOD(pcib_ari_enabled, pcib_ari_enabled),
130 DEVMETHOD(pcib_decode_rid, pcib_ari_decode_rid),
131 DEVMETHOD(pcib_request_feature, pcib_request_feature_default),
132
133 DEVMETHOD_END
134};
135
1/*-
2 * SPDX-License-Identifier: BSD-3-Clause
3 *
4 * Copyright (c) 1994,1995 Stefan Esser, Wolfgang StanglMeier
5 * Copyright (c) 2000 Michael Smith <msmith@freebsd.org>
6 * Copyright (c) 2000 BSDi
7 * All rights reserved.
8 *

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

128 DEVMETHOD(pcib_try_enable_ari, pcib_try_enable_ari),
129 DEVMETHOD(pcib_ari_enabled, pcib_ari_enabled),
130 DEVMETHOD(pcib_decode_rid, pcib_ari_decode_rid),
131 DEVMETHOD(pcib_request_feature, pcib_request_feature_default),
132
133 DEVMETHOD_END
134};
135
136static devclass_t pcib_devclass;
137
138DEFINE_CLASS_0(pcib, pcib_driver, pcib_methods, sizeof(struct pcib_softc));
136DEFINE_CLASS_0(pcib, pcib_driver, pcib_methods, sizeof(struct pcib_softc));
139EARLY_DRIVER_MODULE(pcib, pci, pcib_driver, pcib_devclass, NULL, NULL,
140 BUS_PASS_BUS);
137EARLY_DRIVER_MODULE(pcib, pci, pcib_driver, NULL, NULL, BUS_PASS_BUS);
141
142#if defined(NEW_PCIB) || defined(PCI_HP)
143SYSCTL_DECL(_hw_pci);
144#endif
145
146#ifdef NEW_PCIB
147static int pci_clear_pcib;
148SYSCTL_INT(_hw_pci, OID_AUTO, clear_pcib, CTLFLAG_RDTUN, &pci_clear_pcib, 0,

--- 2873 unchanged lines hidden ---
138
139#if defined(NEW_PCIB) || defined(PCI_HP)
140SYSCTL_DECL(_hw_pci);
141#endif
142
143#ifdef NEW_PCIB
144static int pci_clear_pcib;
145SYSCTL_INT(_hw_pci, OID_AUTO, clear_pcib, CTLFLAG_RDTUN, &pci_clear_pcib, 0,

--- 2873 unchanged lines hidden ---