From owner-cvs-all Mon Oct 4 11:30:21 1999 Delivered-To: cvs-all@freebsd.org Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7]) by hub.freebsd.org (Postfix) with ESMTP id 0ECA214EFC; Mon, 4 Oct 1999 11:30:16 -0700 (PDT) (envelope-from peter@netplex.com.au) Received: from netplex.com.au (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 1D2921CC6; Tue, 5 Oct 1999 02:30:15 +0800 (WST) (envelope-from peter@netplex.com.au) X-Mailer: exmh version 2.0.2 2/24/98 To: Julian Elischer Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/iicbus iic.c In-reply-to: Your message of "Mon, 04 Oct 1999 11:04:25 MST." Date: Tue, 05 Oct 1999 02:30:15 +0800 From: Peter Wemm Message-Id: <19991004183015.1D2921CC6@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Julian Elischer wrote: > Poul is arguing (in my opinion wrongly) that the cdevsw_add should be done > on the attach of the forst found example, and not in the DEV_DRIVER_MODULE > code. Well, he does have a point. Remember, the objective is to get rid of fixed cmaj etc, and DEV_MODULE() forces these to be static. The driver source can't know what it will be at compile time if it's to be dynamic, and there isn't much point allocating a major until we've actually found a device. > julian Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message