summaryrefslogtreecommitdiffstats
path: root/sys/cam/scsi/scsi_cd.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/scsi/scsi_cd.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/scsi/scsi_cd.c')
-rw-r--r--sys/cam/scsi/scsi_cd.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/cam/scsi/scsi_cd.c b/sys/cam/scsi/scsi_cd.c
index 09fe6a8..7ac3195 100644
--- a/sys/cam/scsi/scsi_cd.c
+++ b/sys/cam/scsi/scsi_cd.c
@@ -280,11 +280,6 @@ static int num_changers;
static int changer_min_busy_seconds = CHANGER_MIN_BUSY_SECONDS;
static int changer_max_busy_seconds = CHANGER_MAX_BUSY_SECONDS;
-/*
- * XXX KDM this CAM node should be moved if we ever get more CAM sysctl
- * variables.
- */
-SYSCTL_NODE(_kern, OID_AUTO, cam, CTLFLAG_RD, 0, "CAM Subsystem");
SYSCTL_NODE(_kern_cam, OID_AUTO, cd, CTLFLAG_RD, 0, "CAM CDROM driver");
SYSCTL_NODE(_kern_cam_cd, OID_AUTO, changer, CTLFLAG_RD, 0, "CD Changer");
SYSCTL_INT(_kern_cam_cd_changer, OID_AUTO, min_busy_seconds, CTLFLAG_RW,
OpenPOWER on IntegriCloud