1 /* $Id: hfc_2bs0.h,v 1.5.2.2 2004/01/12 22:52:26 keil Exp $
3 * specific defines for CCD's HFC 2BS0
6 * Copyright by Karsten Keil <keil@isdn4linux.de>
8 * This software may be used and distributed according to the terms
9 * of the GNU General Public License, incorporated herein by reference.
18 #define HFC_Z_LOW 0x00
19 #define HFC_Z_HIGH 0x04
20 #define HFC_F1_INC 0x28
21 #define HFC_FIFO_IN 0x2c
24 #define HFC_F2_INC 0x38
25 #define HFC_FIFO_OUT 0x3c
30 #define HFC_CHANNEL(ch) (ch ? HFC_B2 : HFC_B1)
34 #define HFC_DATA_NODEB 2
38 #define HFC_TIMINT 0x02
39 #define HFC_EXTINT 0x04
42 #define HFC_CLTIMER 0x10
43 #define HFC_TIM50MS 0x08
44 #define HFC_TIMIRQE 0x04
45 #define HFC_TRANSB2 0x02
46 #define HFC_TRANSB1 0x01
49 #define HFC_RESET 0x08
50 #define HFC_MEM8K 0x10
58 extern void main_irq_hfc(struct BCState *bcs);
59 extern void inithfc(struct IsdnCardState *cs);
60 extern void releasehfc(struct IsdnCardState *cs);