From owner-freebsd-arch@FreeBSD.ORG Wed Jun 9 15:56:03 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 1260D16A4CE for ; Wed, 9 Jun 2004 15:56:03 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C14043D49 for ; Wed, 9 Jun 2004 15:56:02 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i59FtxLg055791 for ; Wed, 9 Jun 2004 17:56:00 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 09 Jun 2004 13:16:30 +0200." <53993.1086779790@critter.freebsd.dk> Date: Wed, 09 Jun 2004 17:55:59 +0200 Message-ID: <55790.1086796559@critter.freebsd.dk> 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 15:56:03 -0000 In message <53993.1086779790@critter.freebsd.dk>, Poul-Henning Kamp writes: >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). Looks like a "yea" so far, so I have a couple of follow-up questions: struct cdev currently has members named si_* because it used to be called "specinfo", do we want to change that inconsistency at the same time ? (either by reverting to the specinfo name or by changing to a cd_ prefix ? cdevsw->ioctl() takes a caddr_t pointer argument which really should be a void *, do we want to change that as well (since it is all the same files we'll have to change). -- 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.