From owner-freebsd-current Fri May 18 3:40:45 2001 Delivered-To: freebsd-current@freebsd.org Received: from finch-post-12.mail.demon.net (finch-post-12.mail.demon.net [194.217.242.41]) by hub.freebsd.org (Postfix) with ESMTP id 1D0FA37B423; Fri, 18 May 2001 03:40:32 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from [62.49.251.130] (helo=herring.nlsystems.com) by finch-post-12.mail.demon.net with esmtp (Exim 2.12 #1) id 150hgM-000AZE-0C; Fri, 18 May 2001 10:40:30 +0000 Received: from herring (herring [10.0.0.2]) by herring.nlsystems.com (8.11.2/8.11.2) with ESMTP id f4IAdE727211; Fri, 18 May 2001 11:39:14 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Fri, 18 May 2001 11:39:14 +0100 (BST) From: Doug Rabson To: Warner Losh Cc: Brian Somers , Bruce Evans , , , Subject: Re: Where to put include files (was: cvs commit: src Makefile.inc1) In-Reply-To: <200105171600.f4HG0Pl05438@billy-club.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: X-Loop: FreeBSD.ORG On Thu, 17 May 2001, Warner Losh wrote: > In message <200105171233.f4HCXhb62786@hak.lan.Awfulhak.org> Brian > Somers writes: > : Solaris calls it's ioctl files /usr/include/sys/_io.h so I'd > : spell digiio.h /usr/include/sys/digi_io.h. > > Actually, the more I think about it, the more I like putting it in > /usr/include/sys/fooio.h. We have lots of other files there now. The > down side to this approach is that it breaks up the driver sources > that we've been trying to concentrate into sys/dev/foo/* (or > introduces asymetry such that you can't just toss in a -I/sys and have > the same tree that gets stuck under /usr/include). I quite like the fact that the programming interface is separated from the driver implementation. There is less chance that the driver writer will expose irrelavent implementation details in the API, which in turn makes for a more stable ABI. -- Doug Rabson Mail: dfr@nlsystems.com Phone: +44 20 8348 6160 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message