From owner-freebsd-arch Wed Jan 15 10:46: 4 2003 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 08CE437B401 for ; Wed, 15 Jan 2003 10:46:04 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1ED3843E4A for ; Wed, 15 Jan 2003 10:46:03 -0800 (PST) (envelope-from phk@freebsd.org) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id h0FIje9O018388; Wed, 15 Jan 2003 19:45:40 +0100 (CET) (envelope-from phk@freebsd.org) To: Andrew Gallatin Cc: arch@freebsd.org Subject: Re: HEADSUP: DEVFS and GEOM mandatorification timeline. From: phk@freebsd.org In-Reply-To: Your message of "Wed, 15 Jan 2003 13:43:41 EST." <15909.43997.980937.352619@grasshopper.cs.duke.edu> Date: Wed, 15 Jan 2003 19:45:40 +0100 Message-ID: <18387.1042656340@critter.freebsd.dk> Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <15909.43997.980937.352619@grasshopper.cs.duke.edu>, Andrew Gallatin writes: >Hmm.. I don't propose actually converting existing drivers to use the >new interface, I agree that would be very tricky and time consuming, >and would require extensive testing. > >What I was proposing is to just push the struct file * down to >open/close/ioctl/* for new drivers, and to do the conversion of >existing drivers lazily. Old drivers get to add another arg they >don't use to their open/close/ioctl/* functions. I'd prefer we do it once only, and do it right from the start. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message