From owner-cvs-all Sun Jan 23 4:58:48 2000 Delivered-To: cvs-all@freebsd.org Received: from awfulhak.org (dynamic-17.max4-du-ws.dialnetwork.pavilion.co.uk [212.74.9.145]) by hub.freebsd.org (Postfix) with ESMTP id 1FA3014D24; Sun, 23 Jan 2000 04:58:42 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id MAA36780; Sun, 23 Jan 2000 12:54:13 GMT (envelope-from brian@lan.awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id MAA01242; Sun, 23 Jan 2000 12:54:11 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200001231254.MAA01242@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.0 09/18/1999 To: Peter Wemm Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@hak.lan.Awfulhak.org Subject: Re: cvs commit: src/usr.sbin/config config.y mkioconf.c In-Reply-To: Message from Peter Wemm of "Sun, 23 Jan 2000 04:01:09 PST." <200001231201.EAA55405@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 23 Jan 2000 12:54:11 +0000 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > 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. Excellent ! That's annoyed me too for some time. > Revision Changes Path > 1.40 +16 -12 src/usr.sbin/config/config.y > 1.60 +5 -1 src/usr.sbin/config/mkioconf.c -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message