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/dev/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/dev/pci')
-rw-r--r-- | sys/dev/pci/pci_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci_pci.c b/sys/dev/pci/pci_pci.c index f029846..3b8ec32 100644 --- a/sys/dev/pci/pci_pci.c +++ b/sys/dev/pci/pci_pci.c @@ -98,7 +98,7 @@ static int pci_allow_unsupported_io_range = 0; TUNABLE_INT("hw.pci.allow_unsupported_io_range", (int *)&pci_allow_unsupported_io_range); SYSCTL_DECL(_hw_pci); -SYSCTL_INT(_hw_pci, OID_AUTO, allow_unsupported_io_range, CTLFLAG_RD, +SYSCTL_INT(_hw_pci, OID_AUTO, allow_unsupported_io_range, CTLFLAG_RDTUN, &pci_allow_unsupported_io_range, 0, "Allows the PCI Bridge to pass through an unsupported memory range " "assigned by the BIOS."); |