From owner-cvs-all Sun Jan 23 12:14:28 2000 Delivered-To: cvs-all@freebsd.org Received: from sasami.jurai.net (sasami.jurai.net [63.67.141.99]) by hub.freebsd.org (Postfix) with ESMTP id 8700715088; Sun, 23 Jan 2000 12:14:20 -0800 (PST) (envelope-from winter@jurai.net) Received: from localhost (winter@localhost) by sasami.jurai.net (8.9.3/8.8.7) with ESMTP id PAA44862; Sun, 23 Jan 2000 15:14:17 -0500 (EST) Date: Sun, 23 Jan 2000 15:14:17 -0500 (EST) From: "Matthew N. Dodd" To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/config config.y mkioconf.c In-Reply-To: <200001231201.EAA55405@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Could we also support the 'device foo?' semantics? I'd like to be able to wire ISA devices without specifying their unit number. On Sun, 23 Jan 2000, Peter Wemm wrote: > peter 2000/01/23 04:01:09 PST > > Modified files: > usr.sbin/config config.y mkioconf.c > Log: > Clean up something in config(8) that has annoyed me for ages. Remove > the need to specify the unit number of unwired devices. ie: instead > of saying "device fxp0" we can say "device fxp" which is much closer > to what it actually means. The former (fxp0) implied something about > reserving the 0th unit, but it does not and never did - it was a > figment of config(8)'s imagination that we had to work around.. > "device fxp0" simply means "compile in the fxp device driver", so we > may as well just write it as "device fxp" which is closer to what it > really means. > > Doing this also saves us from filling up the ioconf.c tables with > meaningless entries. > > Revision Changes Path > 1.40 +16 -12 src/usr.sbin/config/config.y > 1.60 +5 -1 src/usr.sbin/config/mkioconf.c > > -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message