From owner-svn-src-all@FreeBSD.ORG Thu May 21 17:17:04 2009 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC1B21065706; Thu, 21 May 2009 17:17:04 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1638FC0A; Thu, 21 May 2009 17:17:04 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (critter.freebsd.dk [192.168.61.3]) by phk.freebsd.dk (Postfix) with ESMTP id 84B1269959; Thu, 21 May 2009 17:17:03 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n4LHH2st002071; Thu, 21 May 2009 17:17:02 GMT (envelope-from phk@critter.freebsd.dk) To: "M. Warner Losh" From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 21 May 2009 10:15:37 CST." <20090521.101537.864824728.imp@bsdimp.com> Date: Thu, 21 May 2009 17:17:02 +0000 Message-ID: <2070.1242926222@critter.freebsd.dk> Sender: phk@critter.freebsd.dk 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 17:17:05 -0000 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. Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.