diff options
author | silby <silby@FreeBSD.org> | 2003-10-21 18:28:36 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2003-10-21 18:28:36 +0000 |
commit | f0e686a675daa6e2c0de834b5fd380d875dd680b (patch) | |
tree | d7f74385af1b21c4660c768322a0bb7af0ce2ecc /sys/i386/pci | |
parent | 62679efced213b5b06e18e51dfd87813b839f95a (diff) | |
download | FreeBSD-src-f0e686a675daa6e2c0de834b5fd380d875dd680b.zip FreeBSD-src-f0e686a675daa6e2c0de834b5fd380d875dd680b.tar.gz |
Change all SYSCTLS which are readonly and have a related TUNABLE
from CTLFLAG_RD to CTLFLAG_RDTUN so that sysctl(8) can provide
more useful error messages.
Diffstat (limited to 'sys/i386/pci')
-rw-r--r-- | sys/i386/pci/pci_cfgreg.c | 2 | ||||
-rw-r--r-- | sys/i386/pci/pci_pir.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index 77ff2d4..ec5def9 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -90,7 +90,7 @@ SYSCTL_DECL(_hw_pci); static uint32_t pci_irq_override_mask = PCI_IRQ_OVERRIDE_MASK; TUNABLE_INT("hw.pci.irq_override_mask", &pci_irq_override_mask); -SYSCTL_INT(_hw_pci, OID_AUTO, irq_override_mask, CTLFLAG_RD, +SYSCTL_INT(_hw_pci, OID_AUTO, irq_override_mask, CTLFLAG_RDTUN, &pci_irq_override_mask, PCI_IRQ_OVERRIDE_MASK, "Mask of allowed irqs to try to route when it has no good clue about\n" "which irqs it should use."); diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index 77ff2d4..ec5def9 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -90,7 +90,7 @@ SYSCTL_DECL(_hw_pci); static uint32_t pci_irq_override_mask = PCI_IRQ_OVERRIDE_MASK; TUNABLE_INT("hw.pci.irq_override_mask", &pci_irq_override_mask); -SYSCTL_INT(_hw_pci, OID_AUTO, irq_override_mask, CTLFLAG_RD, +SYSCTL_INT(_hw_pci, OID_AUTO, irq_override_mask, CTLFLAG_RDTUN, &pci_irq_override_mask, PCI_IRQ_OVERRIDE_MASK, "Mask of allowed irqs to try to route when it has no good clue about\n" "which irqs it should use."); |