New ISDN driver

Hans Petter Selasky hselasky at c2i.net
Fri Aug 12 18:33:30 GMT 2005


On Friday 12 August 2005 19:38, Thorsten Glaser wrote:
> Michael Reifenberger dixit:
> > So now we have stock I4B, your I4B and C4B.
> >
> > Has there been any effords to merge the whole lot (at least) into
> > -current?
>
> Speaking for the MirOS Project:
>
> Currently, we have ISDN support from NetBSD(R) from about
> one year ago; it was sort of a one-time porting effort,
> and neither are there clean diffs, nor is it upgradable.
>
> I am looking for an ISDN driver code base which we can use,
> where we have an upgrade path (i.e. which is not maintained
> as part of FreeBSD only), and where interest to keep some
> #ifdef __MirBSD__ exists. I'd prefer using 'cvs import' and
> vendor branches to keep track of it, so either a separate
> ISDN for bsd project, or a codebase which is merged into
> either FreeBSD, NetBSD, DragonFly BSD or MirBSD (I don't
> care which), but with all the ifdef's still in it, is needed.

The code will look very bad if there are too many ifdef's. I'm currently 
working on a port for my driver for NetBSD, and I was thinking that the best 
would be to write a small library that emulates FreeBSD.

One reason I want the code FreeBSD specific, is that FreeBSD uses mutexes. 
Mutexes can be ported to splnet/splx without much trouble, but not the other 
way around. Then one ends up with all code under Giant.

When it comes to devices I was thinking the same here. Write some layer that 
emulates FreeBSD 5/6/7.

This is what I have done with USB. I support two USB API's at the same time 
and there is no conflict. Actually the one USB API sits on top of the other, 
but switching this order is not possible.

>
> I'd also like to not lose support for older cards, for
> example old ISA Fritz and Teles cards.

I have got support for all these. What was in "man isic" has been moved to 
"man ihfc".

--HPS


More information about the freebsd-isdn mailing list