5171d409a5
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. |
||
---|---|---|
.. | ||
Makefile | ||
Makefile.isapnpdevs | ||
aha_isapnp.c | ||
aic_isapnp.c | ||
com_isapnp.c | ||
devlist2h.awk | ||
ess_isapnp.c | ||
files.isapnp | ||
gus_isapnp.c | ||
i82365_isapnp.c | ||
if_an_isapnp.c | ||
if_ep_isapnp.c | ||
if_le_isapnp.c | ||
if_levar.h | ||
if_ne_isapnp.c | ||
if_tr_isapnp.c | ||
isapnp.c | ||
isapnpdebug.c | ||
isapnpdevs | ||
isapnpdevs.c | ||
isapnpdevs.h | ||
isapnpreg.h | ||
isapnpres.c | ||
isapnpvar.h | ||
isic_isapnp.c | ||
isic_isapnp_ctx_s0P.c | ||
isic_isapnp_drn_ngo.c | ||
isic_isapnp_dynalink.c | ||
isic_isapnp_elsa_qs1i.c | ||
isic_isapnp_siemens_isurf.c | ||
isic_isapnp_sws.c | ||
isic_isapnp_tel_s0P.c | ||
mpu_isapnp.c | ||
sb_isapnp.c | ||
wdc_isapnp.c | ||
wss_isapnp.c | ||
ym_isapnp.c |