From owner-freebsd-arch@FreeBSD.ORG Wed Jun 9 20:04:09 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A55F516A4CE for ; Wed, 9 Jun 2004 20:04:09 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AD0643D54 for ; Wed, 9 Jun 2004 20:04:09 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from [192.168.0.12] (g4.samsco.home [192.168.0.12]) (authenticated bits=0) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i59K65Qj004025; Wed, 9 Jun 2004 14:06:05 -0600 (MDT) (envelope-from scottl@freebsd.org) Message-ID: <40C76CE5.9080204@freebsd.org> Date: Wed, 09 Jun 2004 14:02:45 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040514 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Jeremy References: <53993.1086779790@critter.freebsd.dk> <20040609193950.GF1596@cirb503493.alcatel.com.au> In-Reply-To: <20040609193950.GF1596@cirb503493.alcatel.com.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: arch@freebsd.org cc: Poul-Henning Kamp Subject: Re: dev_t / udev_t confusion ? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 20:04:09 -0000 Peter Jeremy wrote: > On Wed, 2004-Jun-09 13:16:30 +0200, Poul-Henning Kamp wrote: > >>The benefit is that we get the dev_t/udev_t confusion solved, the >>disadvantage (apart from the churn) is that we reduce the already >>limited direct source compatibility with other BSDs a bit further. > > > Getting rid of the confusing situation where the same type name > means totally different things in userland and kernel is a big win. > We can always try to convince the other BSDs to follow suit. The other BSDs use dev_t in both kernel and userland to mean the same thing, which is equivalent to how we use udev_t. Fixing this has a lot of benefits and I'm totally in favor of it. I share Warner's concern about 4.x/5.x compatibility, but I gave up on that in my drivers long ago since the API have changed to much. Scott