summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2002-01-09 03:39:04 +0000
committermsmith <msmith@FreeBSD.org>2002-01-09 03:39:04 +0000
commit6d5a228d7f9879b6376575687c6e307e43105f72 (patch)
tree2bb9be61e9481ca44a7026f0a28670676ba0d78f /sys/cam/cam_xpt.c
parent5cfc4a9df0b978192e73dd8fd7bedf6b70534448 (diff)
downloadFreeBSD-src-6d5a228d7f9879b6376575687c6e307e43105f72.zip
FreeBSD-src-6d5a228d7f9879b6376575687c6e307e43105f72.tar.gz
Define the kern.cam sysctl in the cam layer, rather than multiply in several
peripheral drivers. Remove Ken's comment to the effect that this needed to be done. Staticise camnet_ih and cambio_ih.
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 3e12dc3..eb3f91c 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -641,8 +641,8 @@ u_int32_t cam_debug_delay;
#endif
/* Pointers to software interrupt handlers */
-void *camnet_ih;
-void *cambio_ih;
+static void *camnet_ih;
+static void *cambio_ih;
#if defined(CAM_DEBUG_FLAGS) && !defined(CAMDEBUG)
#error "You must have options CAMDEBUG to use options CAM_DEBUG_FLAGS"
OpenPOWER on IntegriCloud