NetBSD/sys/conf
martin 5171d409a5 First step to cleanup the hardware driver <-> upper layers interface.
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.

To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.

Functional changes:

Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.

Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).

While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.
2001-03-24 12:40:29 +00:00
..
defines
files First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
newvers.sh Const'ify string constants. 2000-07-14 07:14:03 +00:00
newvers_stand.sh replace a head | tail | sed sequence with a single link awk invocation, 2000-08-23 07:15:20 +00:00
osrelease.sh 1.5T -- PR_ABRTACPTDIS in protosw. 2001-03-21 19:43:05 +00:00
param.c Make SHMSEG much larger to accomodate GNOME and imlib. 2000-11-11 02:24:55 +00:00