From owner-freebsd-bugs Thu Nov 11 21: 6:45 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 0774314FED for ; Thu, 11 Nov 1999 21:06:41 -0800 (PST) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id WAA32319; Thu, 11 Nov 1999 22:06:05 -0700 (MST) (envelope-from ken) Message-Id: <199911120506.WAA32319@panzer.kdm.org> Subject: Re: make_dev() warnings In-Reply-To: <19991111230337.M48527@holly.calldei.com> from Chris Costello at "Nov 11, 1999 11:03:38 pm" To: chris@calldei.com Date: Thu, 11 Nov 1999 22:06:05 -0700 (MST) Cc: tanimura@r.dl.itc.u-tokyo.ac.jp (Seigo Tanmura), sjr@home.net, freebsd-bugs@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Chris Costello wrote... > On Thu, Nov 11, 1999, Kenneth D. Merry wrote: > > Chris Costello wrote... > > > On Thu, Nov 11, 1999, Kenneth D. Merry wrote: > > > > So while cdevsw_add() need only be called once for each device type, > > > > make_dev() (once we get DEVFS, I imagine) will probably have to be called > > > > once for each device node added. > > > > > > If it's a problem, then make_dev should be changed to > > > facilitate the type of behavior that would be most efficient for > > > disk devices. > > > > What do you mean? > > You said that cdevsw_add() is called only once for each device > type, while make_dev will be called for each node. Is that a > problem? (I assumed it was.) It's not a problem. In fact, there's probably no other easy way to do it if we're going to eventually go to DEVFS. Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message