NetBSD/sys/netisdn
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
..
Makefile
i4b_cause.h
i4b_ctl.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_debug.h
i4b_global.h First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_i4bdrv.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_iframe.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_ioctl.h
i4b_ipr.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_isdnq931.h
i4b_isppp.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_isppp.h
i4b_l1l2.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l1l2.h First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l2.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l2.h First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l2fsm.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l2fsm.h
i4b_l2if.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l2timer.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l3.h First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l3fsm.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l3fsm.h
i4b_l3l4.h First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l3timer.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l4.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l4.h
i4b_l4if.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l4mgmt.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_l4timer.c Nuke all uses of splimp() in the isdn subsystem, replace by splnet(). 2001-01-19 12:44:44 +00:00
i4b_lme.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_mbuf.c Nuke all uses of splimp() in the isdn subsystem, replace by splnet(). 2001-01-19 12:44:44 +00:00
i4b_mbuf.h
i4b_q931.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_q931.h
i4b_q932fac.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_q932fac.h
i4b_rbch.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_rbch_ioctl.h
i4b_sframe.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_tei.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_tel.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_tel_ioctl.h
i4b_trace.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_trace.h First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_uframe.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00
i4b_util.c First step to cleanup the hardware driver <-> upper layers interface. 2001-03-24 12:40:29 +00:00