From 9ce2d50cf22b781468724c40e972445fa30d70f7 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 29 Apr 2002 07:37:09 +0000 Subject: Make sysctl RW --- sys/dev/pccbb/pccbb.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/dev/pccbb') diff --git a/sys/dev/pccbb/pccbb.c b/sys/dev/pccbb/pccbb.c index d786bbc0d3bb..d108209e1230 100644 --- a/sys/dev/pccbb/pccbb.c +++ b/sys/dev/pccbb/pccbb.c @@ -202,25 +202,25 @@ SYSCTL_NODE(_hw, OID_AUTO, cbb, CTLFLAG_RD, 0, "CBB parameters"); /* There's no way to say TUNEABLE_LONG to get the right types */ u_long pccbb_start_mem = PCCBB_START_MEM; TUNABLE_INT("hw.cbb.start_memory", (int *)&pccbb_start_mem); -SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_mem, CTLFLAG_RD, +SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_mem, CTLFLAG_RW, &pccbb_start_mem, PCCBB_START_MEM, "Starting address for memory allocations"); u_long pccbb_start_16_io = PCCBB_START_16_IO; TUNABLE_INT("hw.cbb.start_16_io", (int *)&pccbb_start_16_io); -SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_16_io, CTLFLAG_RD, +SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_16_io, CTLFLAG_RW, &pccbb_start_16_io, PCCBB_START_16_IO, "Starting ioport for 16-bit cards"); u_long pccbb_start_32_io = PCCBB_START_32_IO; TUNABLE_INT("hw.cbb.start_32_io", (int *)&pccbb_start_32_io); -SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_32_io, CTLFLAG_RD, +SYSCTL_ULONG(_hw_cbb, OID_AUTO, start_32_io, CTLFLAG_RW, &pccbb_start_32_io, PCCBB_START_32_IO, "Starting ioport for 32-bit cards"); int cbb_debug = 0; TUNABLE_INT("hw.cbb.debug", &cbb_debug); -SYSCTL_ULONG(_hw_cbb, OID_AUTO, debug, CTLFLAG_RD, &cbb_debug, 0, +SYSCTL_ULONG(_hw_cbb, OID_AUTO, debug, CTLFLAG_RW, &cbb_debug, 0, "Verbose cardbus bridge debugging"); static int pccbb_chipset(uint32_t pci_id, const char **namep); -- cgit v1.3