From owner-freebsd-arch@FreeBSD.ORG Wed Jun 9 16:42:40 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 8537F16A4CE for ; Wed, 9 Jun 2004 16:42:40 +0000 (GMT) Received: from smtp2.server.rpi.edu (smtp2.server.rpi.edu [128.113.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1292543D49 for ; Wed, 9 Jun 2004 16:42:40 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp2.server.rpi.edu (8.12.8/8.12.8) with ESMTP id i59GgdVu004571; Wed, 9 Jun 2004 12:42:39 -0400 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <20040609124308.GC11475@green.homeunix.org> References: <53993.1086779790@critter.freebsd.dk> <20040609124308.GC11475@green.homeunix.org> Date: Wed, 9 Jun 2004 12:42:38 -0400 To: Poul-Henning Kamp From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Scanned-By: CanIt (www . canit . ca) cc: arch@freebsd.org 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 16:42:40 -0000 At 8:43 AM -0400 6/9/04, Brian Feldman wrote: >On Wed, Jun 09, 2004, Poul-Henning Kamp wrote: > > [...] >> The change proposed is more or less to do: >> s/dev_t/struct cdev */ >> s/udev_t/dev_t/ >> over all the kernel sources (366 files or so). >> [....] > >One yes vote, please. The dev_t structure is not treated as >opaque, so as long as people are going to->dereference it, it >deserves to be a struct *. This sounds like the right path to me. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu