From owner-freebsd-scsi Mon Apr 3 8: 4:59 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 8B64A37B9D7; Mon, 3 Apr 2000 08:04:52 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from beppo.feral.com (beppo [192.67.166.79]) by feral.com (8.9.3/8.9.3) with ESMTP id IAA29053; Mon, 3 Apr 2000 08:03:06 -0700 Date: Mon, 3 Apr 2000 08:03:55 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Brad Knowles Cc: FreeBSD-CURRENT Mailing List , freebsd-scsi@FreeBSD.ORG Subject: Re: Sysctl for CAM SCSI quirks? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org These aren't available at boot time when you need them, are they? On Mon, 3 Apr 2000, Brad Knowles wrote: > Folks, > > I just did a bit of searching on the website, and garnered enough > information from > b/text/1998/freebsd-questions/19981115.freebsd-questions> to be able > to add a new "quirk" in /usr/src/sys/cam/cam_xpt.c for a piece of > hardware I'm having some difficulty with. > > Assuming this works, I will file a proper PR, etc.... > > > However, shouldn't there be an easier way to do this? For > example, shouldn't there be a sysctl for changing these sorts of > things, perhaps something like: > > kern.cam.cd.changer.min_busy_seconds: 5 > kern.cam.cd.changer.max_busy_seconds: 15 > kern.cam.quirks.direct.fixed.quantum.XP39100*.*.mintags: 24 > kern.cam.quirks.direct.fixed.quantum.XP39100*.*.maxtags: 32 > kern.cam.quirks.direct.fixed.quantum.XP34550*.*.mintags: 24 > kern.cam.quirks.direct.fixed.quantum.XP34550*.*.maxtags: 32 > kern.cam.quirks.direct.fixed.quantum.XP32275*.*.mintags: 24 > kern.cam.quirks.direct.fixed.quantum.XP32275*.*.maxtags: 32 > > This would make it very easy to add new quirks as they come along > (just update your sysctl.conf), and without having to always file a > PR so that /usr/src/sys/cam/cam_xpt.c gets modified so that you can > have your quirk and track -CURRENT too (or -STABLE, for that matter). > > -- > These are my opinions -- not to be taken as official Skynet policy > ====================================================================== > Brad Knowles, || Belgacom Skynet SA/NV > Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 > Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels > http://www.skynet.be || Belgium > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-scsi" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message