From owner-svn-src-head@FreeBSD.ORG Thu May 21 18:40:44 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 D8EC5106566C; Thu, 21 May 2009 18:40:44 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id A80DA8FC0A; Thu, 21 May 2009 18:40:44 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n4LIeXnJ068510 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 21 May 2009 11:40:34 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4A15A021.40706@freebsd.org> Date: Thu, 21 May 2009 11:40:33 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Poul-Henning Kamp References: <2070.1242926222@critter.freebsd.dk> In-Reply-To: <2070.1242926222@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist X-Mailman-Approved-At: Thu, 21 May 2009 20:49:01 +0000 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, "M. Warner Losh" 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 18:40:45 -0000 Poul-Henning Kamp wrote: > 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). > > 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. > devd checks the media instead of using regex; you're thinking of storage controllers. Sam