mISDN/drivers/isdn/hardware/mISDN/core.h

47 lines
1.0 KiB
C
Raw Normal View History

2001-02-13 10:42:55 +00:00
/* $Id$
*
* This file is (c) under GNU PUBLIC LICENSE
2001-02-11 22:46:19 +00:00
*
*/
#include <linux/malloc.h>
#include <linux/string.h>
#include <linux/hisaxif.h>
#include "helper.h"
#define HISAX_MAJOR 46
#define HISAX_DEVBUF_SIZE 8192
/* debugging */
#define DEBUG_CORE_FUNC 0x0001
#define DEBUG_DUMMY_FUNC 0x0002
#define DEBUG_DEV_OP 0x0100
#define DEBUG_MGR_FUNC 0x0200
#define DEBUG_RDATA 0x1000
#define DEBUG_WDATA 0x2000
/* from hisax_dev.c */
2001-02-22 10:14:16 +00:00
2001-02-11 22:46:19 +00:00
extern int init_hisaxdev(int);
extern int free_hisaxdev(void);
2001-02-22 10:14:16 +00:00
/* from hisax_stack.c */
extern hisaxstack_t *hisax_stacklist;
2001-02-27 17:45:44 +00:00
extern void get_stack_profile(iframe_t *);
extern int get_stack_cnt(void);
extern hisaxstack_t *get_stack4id(int);
extern hisaxstack_t *new_stack(hisaxinstance_t *, hisaxstack_t *);
extern void release_stacks(hisaxobject_t *);
extern int set_stack(hisaxstack_t *, hisax_pid_t *);
extern int clear_stack(hisaxstack_t *);
2001-02-22 10:14:16 +00:00
/* from hisax_core.c */
extern hisaxobject_t *hisax_objects;
extern int core_debug;
2001-02-11 22:46:19 +00:00
extern void hisaxlock_core(void);
extern void hisaxunlock_core(void);