diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2016-07-30 20:31:12 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2016-07-30 20:31:12 +0000 |
commit | 6ca2d09437c5175e1a031d6248d11484632f9419 (patch) | |
tree | 0cbab87abd1fecfbf43e7d3464b4380222d5dc6b /sys/dev | |
parent | a3c0e7f2fbfe274ef54b5db0d9141397fa7d36ca (diff) | |
download | src-6ca2d09437c5175e1a031d6248d11484632f9419.tar.gz src-6ca2d09437c5175e1a031d6248d11484632f9419.zip |
Try to declare _hw_pci for all sysctl cases needed after r303497.
MFC after: 5 days
X-MFC with: r303497
Notes
Notes:
svn path=/head/; revision=303559
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/pci_pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index 9e42116c4e93..5f8638116bef 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -128,9 +128,11 @@ static devclass_t pcib_devclass; DEFINE_CLASS_0(pcib, pcib_driver, pcib_methods, sizeof(struct pcib_softc)); DRIVER_MODULE(pcib, pci, pcib_driver, pcib_devclass, NULL, NULL); -#ifdef NEW_PCIB +#if defined(NEW_PCIB) || defined(PCI_HP) SYSCTL_DECL(_hw_pci); +#endif +#ifdef NEW_PCIB static int pci_clear_pcib; SYSCTL_INT(_hw_pci, OID_AUTO, clear_pcib, CTLFLAG_RDTUN, &pci_clear_pcib, 0, "Clear firmware-assigned resources for PCI-PCI bridge I/O windows."); |