1 /***************************************************************/
2 /* $Id: hfc4s8s_l1.h,v 1.1 2005/02/02 17:28:55 martinb1 Exp $ */
4 /* This file is a minimal required extraction of hfc48scu.h */
5 /* (Genero 3.2, HFC XML 1.7a for HFC-E1, HFC-4S and HFC-8S) */
7 /* To get this complete register description contact */
8 /* Cologne Chip AG : */
9 /* Internet: http://www.colognechip.com/ */
10 /* E-Mail: info@colognechip.com */
11 /***************************************************************/
13 #ifndef _HFC4S8S_L1_H_
14 #define _HFC4S8S_L1_H_
18 * include Genero generated HFC-4S/8S header file hfc48scu.h
19 * for complete register description. This will define _HFC48SCU_H_
20 * to prevent redefinitions
23 // #include "hfc48scu.h"
28 #ifndef PCI_VENDOR_ID_CCD
29 #define PCI_VENDOR_ID_CCD 0x1397
32 #define CHIP_ID_4S 0x0C
33 #define CHIP_ID_8S 0x08
34 #define PCI_DEVICE_ID_4S 0x08B4
35 #define PCI_DEVICE_ID_8S 0x16B8
37 #define R_IRQ_MISC 0x11
39 #define A_ST_RD_STA 0x30
40 #define A_ST_WR_STA 0x30
41 #define M_SET_G2_G3 0x80
42 #define A_ST_CTRL0 0x31
43 #define A_ST_CTRL2 0x33
44 #define A_ST_CLK_DLY 0x37
50 #define R_BRG_PCM_CFG 0x02
51 #define M_PCM_CLK 0x20
52 #define R_RAM_MISC 0x0C
54 #define R_FIFO_MD 0x0D
55 #define A_INC_RES_FIFO 0x0E
59 #define R_IRQ_OVIEW 0x10
60 #define R_CHIP_ID 0x16
63 #define M_MISC_IRQSTA 0x40
64 #define M_FR_IRQSTA 0x80
65 #define R_CHIP_RV 0x1F
66 #define R_IRQ_CTRL 0x13
67 #define M_FIFO_IRQ 0x01
68 #define M_GLOB_IRQ_EN 0x08
69 #define R_PCM_MD0 0x14
71 #define A_FIFO_DATA0 0x80
75 #define R_IRQ_FIFO_BL0 0xC8
76 #define A_CON_HDLC 0xFA
77 #define A_SUBCH_CFG 0xFB
78 #define A_IRQ_MSK 0xFF
79 #define R_SCI_MSK 0x12
81 #define R_ST_SYNC 0x17
82 #define M_AUTO_SYNC 0x08
84 #define R_IRQMSK_MISC 0x11
85 #define M_TI_IRQMSK 0x02
87 #endif /* _HFC4S8S_L1_H_ */
88 #endif /* _HFC48SCU_H_ */