Subject: Re: Kernel include files proposal
To: None <lennart@mail.augustsson.net>
From: Ross Harvey <ross@ghs.com>
List: tech-kern
Date: 04/11/2001 14:02:20
> From: Lennart Augustsson <lennart@mail.augustsson.net>
>
> So in what way does those two packages manage to use that header file
> without an ioctl()?  I guess they could be using read()/write() instead,
> in which case it should be installed, of course.
> What I would have us do is to install the absolute minimum of kernel
> header files.  When something shows up that doesn't compile, we'll
> either install the needed header file, or change the program if it is
> misdesigned.

The answer is that bt8xx.h is misdesigned, as you put it. It defines
bits useful in ioctls that are actually exported from other header files.

//

> Ross Harvey wrote:
>
> > So, pkgsrc/graphics/fxtv and pkgsrc/audio/xmradio got saved because developers
> > who read this list had first-hand knowledge that they needed ic/bt8xx.h.
> >
> > But note that ic/bt8xx.h defines no ioctls. There was no general way to
> > identify it as needed.
> >
> > Couldn't this be the case with other stuff in the 2,000 pkgsrc directories?
> > What about third-party SW not yet pkgized?  The next import of XFree86?
> >
> > //ross
>
>