From owner-freebsd-questions Sat Dec 4 12:39:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from monsoon.mail.pipex.net (monsoon.mail.pipex.net [158.43.128.69]) by hub.freebsd.org (Postfix) with SMTP id E48C514A2A for ; Sat, 4 Dec 1999 12:39:43 -0800 (PST) (envelope-from mark@dogma.freebsd-uk.eu.org) Received: (qmail 25609 invoked from network); 4 Dec 1999 20:39:26 -0000 Received: from userat43.uk.uudial.com (HELO marder-1.) (62.188.137.146) by smtp.dial.pipex.com with SMTP; 4 Dec 1999 20:39:26 -0000 Received: (from mark@localhost) by marder-1. (8.9.3/8.8.8) id RAA01347; Sat, 4 Dec 1999 17:45:30 GMT (envelope-from mark) Date: Sat, 4 Dec 1999 17:45:29 +0000 From: Mark Ovens To: hgoldste@bbs.mpcs.com Cc: freebsd-questions@freebsd.org Subject: Re: kernel.conf and setting sio flags Message-ID: <19991204174529.D568@marder-1> References: <14409.18968.402278.927193@penny.n2wx.ampr.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <14409.18968.402278.927193@penny.n2wx.ampr.org> Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Dec 04, 1999 at 12:06:32PM -0500, Howard Goldstein wrote: > > I seem to recall seeing that some blessed soul intended to document > the userconfig syntax used by /boot/kernel.conf(ig) but I'm having a > brain fart and can't locate the reference or the docs. > > It'd be neat to learn how to fish rather than be given the food so > if someone has suggestions on where to find the docs you'd have my > eternal gratitude in exchange for its URL. Or if you already have a > canned userconfig-able /boot/kernel.conf I can use to set my siox > devices' flags at boot time that'll work too. I'm good to go with > pnp setup via kernel.conf on a desktop system, but here I have a > couple of thousand 3.2R systems in the field that may benefit from > the extended FIFO capabilities but I can't throw new kernels at them > (easily) and a couple of attempts at guessing at the syntax all > failed. > I thought I'd seen a doc about this, but I can't find it now :( Anyway, to set sio parameters the following is what you need: To disable a port: di sio To enable a port: en sio To set the IRQ: irq sio To set the flags: flags sio is a hex number of the form 0x04 BTW, I thought the filename was /boot/boot.conf. I still use my old (2.2) /kernel.config by having the following in /boot/loader.rc: load -t userconfig_script /kernel.config HTH. > Thanks in advance. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- PERL has been described as "the duct tape of the Internet" and "the Unix Swiss Army chainsaw" - Computer Shopper 12/99 ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message