isdn4linux-web/workshop/linklevel/isdn_cards.c.shtml

114 lines
3.9 KiB
Plaintext

<HTML>
<!-- Generated by c2html-1.0, Copyright 1998 by Dave Whittington -->
<HEAD>
<TITLE>isdn_cards.c</TITLE>
<!--#include virtual="/ssi/js.shtml" -->
<!--#include virtual="/ssi/buttondefs.shtml" -->
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<TABLE WIDTH="100%">
<TR>
<TD ALIGN=LEFT WIDTH="90"><!--#include virtual="/ssi/b_home.shtml" --></TD>
<TD ALIGN=RIGHT WIDTH="90"><!--#include virtual="/ssi/b_index.shtml" --></TD>
</TR>
</TABLE>
<CENTER><H1>isdn_cards.c</H1></CENTER>
<HR>
<PRE>
<FONT COLOR=#0000FF>/* $Id$
* Linux ISDN subsystem, initialization for non-modularized drivers.
*
* Copyright 1994,95,96 by Fritz Elfert (fritz@wuemaus.franken.de)
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.7 1998/02/20 17:24:28 fritz
* Added ACT2000 init.
*
* Revision 1.6 1997/04/23 18:56:03 fritz
* Old Teles driver removed, Changed doc and scripts accordingly.
*
* Revision 1.5 1997/03/30 17:10:36 calle
* added support for AVM-B1-PCI card.
*
* Revision 1.4 1997/03/04 21:59:44 calle
* Added AVM-B1-CAPI2.0 driver
*
* Revision 1.3 1997/02/03 23:31:14 fritz
* Reformatted according CodingStyle
*
* Revision 1.2 1996/10/13 19:52:17 keil
* HiSax support
*
* Revision 1.1 1996/04/20 16:04:36 fritz
* Initial revision
*
*/</FONT>
<FONT COLOR=#A521F7>#include</FONT> &lt;linux/config.h&gt;
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_ISDN_DRV_ICN
<FONT COLOR="#298C52">extern</FONT> <FONT COLOR="#298C52">void</FONT> icn_init(<FONT COLOR="#298C52">void</FONT>);
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_ISDN_DRV_HISAX
<FONT COLOR="#298C52">extern</FONT> <FONT COLOR="#298C52">void</FONT> HiSax_init(<FONT COLOR="#298C52">void</FONT>);
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_ISDN_DRV_PCBIT
<FONT COLOR="#298C52">extern</FONT> <FONT COLOR="#298C52">void</FONT> pcbit_init(<FONT COLOR="#298C52">void</FONT>);
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_ISDN_DRV_AVMB1
<FONT COLOR="#298C52">extern</FONT> <FONT COLOR="#298C52">void</FONT> avmb1_init(<FONT COLOR="#298C52">void</FONT>);
<FONT COLOR="#298C52">extern</FONT> <FONT COLOR="#298C52">void</FONT> capi_init(<FONT COLOR="#298C52">void</FONT>);
<FONT COLOR="#298C52">extern</FONT> <FONT COLOR="#298C52">void</FONT> capidrv_init(<FONT COLOR="#298C52">void</FONT>);
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_PCI
<FONT COLOR="#298C52">extern</FONT> <FONT COLOR="#298C52">int</FONT> b1pci_init(<FONT COLOR="#298C52">void</FONT>);
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR="#298C52">void</FONT>
<A NAME="isdn_cards_init">isdn_cards_init</A>(<FONT COLOR="#298C52">void</FONT>)
{
<FONT COLOR=#A521F7>#if</FONT> CONFIG_ISDN_DRV_ICN
icn_init();
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_ISDN_DRV_HISAX
HiSax_init();
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#if</FONT> CONFIG_ISDN_DRV_PCBIT
pcbit_init();
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_ISDN_DRV_AVMB1
avmb1_init();
<FONT COLOR=#A521F7>#ifdef</FONT> CONFIG_PCI
b1pci_init();
<FONT COLOR=#A521F7>#endif</FONT>
capi_init();
capidrv_init();
<FONT COLOR=#A521F7>#endif</FONT>
<FONT COLOR=#A521F7>#if</FONT> CONFIG_ISDN_DRV_ACT2000
act2000_init();
<FONT COLOR=#A521F7>#endif</FONT>
}
</BODY>
</HTML>