Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2000 08:03:55 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        Brad Knowles <blk@skynet.be>
Cc:        FreeBSD-CURRENT Mailing List <freebsd-current@FreeBSD.ORG>, freebsd-scsi@FreeBSD.ORG
Subject:   Re: Sysctl for CAM SCSI quirks?
Message-ID:  <Pine.BSF.4.10.10004030803300.55770-100000@beppo.feral.com>
In-Reply-To: <v04220810b50e4251c2ae@[195.238.1.121]>

next in thread | previous in thread | raw e-mail | index | archive | help

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 
> <http://www.freebsd.org/cgi/getmsg.cgi?fetch=546460+0+/usr/local/www/d 
> 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, <blk@skynet.be>                || 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10004030803300.55770-100000>