From owner-svn-src-head@FreeBSD.ORG Thu May 21 20:44:41 2009 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C6CC1065670; Thu, 21 May 2009 20:44:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 4F29C8FC1B; Thu, 21 May 2009 20:44:41 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n4LKeW3n082617; Thu, 21 May 2009 14:40:32 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Thu, 21 May 2009 14:40:43 -0600 (MDT) Message-Id: <20090521.144043.-501541558.imp@bsdimp.com> To: phk@phk.freebsd.dk From: "M. Warner Losh" In-Reply-To: <2070.1242926222@critter.freebsd.dk> References: <20090521.101537.864824728.imp@bsdimp.com> <2070.1242926222@critter.freebsd.dk> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: scottl@samsco.org, src-committers@FreeBSD.org, jhb@FreeBSD.org, svn-src-all@FreeBSD.org, attilio@FreeBSD.org, svn-src-head@FreeBSD.org, rwatson@FreeBSD.org, kostikbel@gmail.com Subject: Re: svn commit: r192535 - head/sys/kern X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 20:44:42 -0000 In message: <2070.1242926222@critter.freebsd.dk> "Poul-Henning Kamp" writes: : In message <20090521.101537.864824728.imp@bsdimp.com>, "M. Warner Losh" writes: : : >Right now, the devctl_notify() is what gets it into devd. However, : >I'd always viewed devd as having multiple event sources and not just : >from the /dev/devctl device. : : Correct, but kqueuing /dev is not nearly as expressiv as devctl, : where the protocol has space where the device driver could pass : useful information to devd(8). It could, but right now it doesn't. : For instance, I find the regexp matching of ethernet drivers very, : very silly: the device driver should just tell devd(8) that it is : an ethernet, so that we don't have this non-documented registry of : device driver names. We don't use the ethernet driver regex any more, since we base it all on interface arrival in ifnet layer... Warner