Subject: Re: obsoleting /usr/include/sys/md[45].h
To: Todd Vierling <>
From: Chris G. Demetriou <>
List: tech-userlevel
Date: 12/12/2000 12:16:51 (Todd Vierling) writes:
> On Mon, 11 Dec 2000, Frank van der Linden wrote:
> : > Well, the support for this on Solaris is there primarily because
> : > their syssrc is NOT available. Ours is, so IMHO we don't really need this.
> If I want to compile a LKM, I am required to have about eighty megs of
> kernel .c files which I'm not going to compile?  Why have third party LKM's
> at all?  Just go monolithic!

uh, there are a lot of obvious answers to that.

* so _everybody_ doesn't need those 80 megs of source...

* so you don't have to give your source away...

> : More like: they have a well-documented DDI (device driver interface),
> : so you don't need the source (well, most of the time.)
> And we're heading in this direction.  We have many abstractions that make
> it possible to write code that relies only on <sys/*> and <machine/*> and
> do many useful things.

The way you get such a DDI is, in my opinion, not just making random
stuff from the kernel available in /usr/include.

it requires actually examining everything that goes there, and making
sure it's reasonable for such an interface.