Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
config.c File Reference
#include <linux/types.h>
#include <linux/stddef.h>
#include <linux/timer.h>
#include <linux/init.h>
#include "hisax.h"
#include <linux/module.h>
#include <linux/kernel_stat.h>
#include <linux/workqueue.h>
#include <linux/interrupt.h>
#include <linux/slab.h>
#include "hisax_if.h"
#include "isdnl1.h"

Go to the source code of this file.

Macros

#define HISAX_STATUS_BUFSIZE   4096
 
#define DEFAULT_PROTO   ISDN_PTYPE_UNKNOWN
 
#define DEFAULT_PROTO_NAME   "UNKNOWN"
 
#define DEFAULT_CARD   0
 
#define DEFAULT_CFG   {0, 0, 0, 0}
 
#define FIRST_CARD
 
#define HISAX_IDSIZE   (HISAX_MAX_CARDS * 8)
 
#define MAX_ARG   (HISAX_MAX_CARDS * 5)
 

Functions

charHiSax_getrev (const char *revision)
 
 __setup ("hisax=", HiSax_setup)
 
int jiftime (char *s, long mark)
 
void VHiSax_putstatus (struct IsdnCardState *cs, char *head, char *fmt, va_list args)
 
void HiSax_putstatus (struct IsdnCardState *cs, char *head, char *fmt,...)
 
int ll_run (struct IsdnCardState *cs, int addfeatures)
 
void HiSax_closecard (int cardnr)
 
void HiSax_reportcard (int cardnr, int sel)
 
 EXPORT_SYMBOL (HiSax_closecard)
 
 EXPORT_SYMBOL (hisax_register)
 
 EXPORT_SYMBOL (hisax_unregister)
 
int hisax_register (struct hisax_d_if *hisax_d_if, struct hisax_b_if *b_if[], char *name, int protocol)
 
void hisax_unregister (struct hisax_d_if *hisax_d_if)
 
 module_init (HiSax_init)
 
 module_exit (HiSax_exit)
 
 EXPORT_SYMBOL (FsmNew)
 
 EXPORT_SYMBOL (FsmFree)
 
 EXPORT_SYMBOL (FsmEvent)
 
 EXPORT_SYMBOL (FsmChangeState)
 
 EXPORT_SYMBOL (FsmInitTimer)
 
 EXPORT_SYMBOL (FsmDelTimer)
 
 EXPORT_SYMBOL (FsmRestartTimer)
 

Variables

const charCardType []
 
struct IsdnCard cards [HISAX_MAX_CARDS]
 
int nrcards
 

Macro Definition Documentation

#define DEFAULT_CARD   0

Definition at line 308 of file config.c.

#define DEFAULT_CFG   {0, 0, 0, 0}

Definition at line 309 of file config.c.

#define DEFAULT_PROTO   ISDN_PTYPE_UNKNOWN

Definition at line 304 of file config.c.

#define DEFAULT_PROTO_NAME   "UNKNOWN"

Definition at line 305 of file config.c.

#define FIRST_CARD
Value:
{ \
DEFAULT_CARD, \
DEFAULT_PROTO, \
DEFAULT_CFG, \
NULL, \
}

Definition at line 312 of file config.c.

#define HISAX_IDSIZE   (HISAX_MAX_CARDS * 8)

Definition at line 323 of file config.c.

#define HISAX_STATUS_BUFSIZE   4096

Definition at line 27 of file config.c.

#define MAX_ARG   (HISAX_MAX_CARDS * 5)

Definition at line 403 of file config.c.

Function Documentation

__setup ( )
EXPORT_SYMBOL ( HiSax_closecard  )
EXPORT_SYMBOL ( hisax_register  )
EXPORT_SYMBOL ( hisax_unregister  )
EXPORT_SYMBOL ( FsmNew  )
EXPORT_SYMBOL ( FsmFree  )
EXPORT_SYMBOL ( FsmEvent  )
EXPORT_SYMBOL ( FsmChangeState  )
EXPORT_SYMBOL ( FsmInitTimer  )
EXPORT_SYMBOL ( FsmDelTimer  )
EXPORT_SYMBOL ( FsmRestartTimer  )
void HiSax_closecard ( int  cardnr)

Definition at line 1269 of file config.c.

char* HiSax_getrev ( const char revision)

Definition at line 365 of file config.c.

void HiSax_putstatus ( struct IsdnCardState *  cs,
char head,
char fmt,
  ... 
)

Definition at line 732 of file config.c.

int hisax_register ( struct hisax_d_if hisax_d_if,
struct hisax_b_if b_if[],
char name,
int  protocol 
)

Definition at line 1597 of file config.c.

void HiSax_reportcard ( int  cardnr,
int  sel 
)

Definition at line 1294 of file config.c.

void hisax_unregister ( struct hisax_d_if hisax_d_if)

Definition at line 1644 of file config.c.

int jiftime ( char s,
long  mark 
)

Definition at line 639 of file config.c.

int ll_run ( struct IsdnCardState *  cs,
int  addfeatures 
)

Definition at line 741 of file config.c.

module_exit ( HiSax_exit  )
module_init ( HiSax_init  )
void VHiSax_putstatus ( struct IsdnCardState *  cs,
char head,
char fmt,
va_list  args 
)

Definition at line 662 of file config.c.

Variable Documentation

struct IsdnCard cards[HISAX_MAX_CARDS]
Initial value:
= {
}

Definition at line 319 of file config.c.

const char* CardType[]
Initial value:
= {
"No Card", "Teles 16.0", "Teles 8.0", "Teles 16.3",
"Creatix/Teles PnP", "AVM A1", "Elsa ML", "Elsa Quickstep",
"Teles PCMCIA", "ITK ix1-micro Rev.2", "Elsa PCMCIA",
"Eicon.Diehl Diva", "ISDNLink", "TeleInt", "Teles 16.3c",
"Sedlbauer Speed Card", "USR Sportster", "ith mic Linux",
"Elsa PCI", "Compaq ISA", "NETjet-S", "Teles PCI",
"Sedlbauer Speed Star (PCMCIA)", "AMD 7930", "NICCY", "S0Box",
"AVM A1 (PCMCIA)", "AVM Fritz PnP/PCI", "Sedlbauer Speed Fax +",
"Siemens I-Surf", "Acer P10", "HST Saphir", "Telekom A4T",
"Scitel Quadro", "Gazel", "HFC 2BDS0 PCI", "Winbond 6692",
"HFC 2BDS0 SX", "NETspider-U", "HFC-2BDS0-SP PCMCIA",
"Hotplug", "Formula-n enter:now PCI a/b",
}

Definition at line 85 of file config.c.

int nrcards

Definition at line 363 of file config.c.