OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [hisax/] [hfc_2bs0.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
/* $Id: hfc_2bs0.h,v 1.1 2005-12-20 10:17:01 jcastillo Exp $
2
 
3
 *  specific defines for CCD's HFC 2BS0
4
 *
5
 * Author       Karsten Keil (keil@temic-ech.spacenet.de)
6
 *
7
 *
8
 * $Log: not supported by cvs2svn $
9
 * Revision 1.1.1.1  2001/09/10 07:44:18  simons
10
 * Initial import
11
 *
12
 * Revision 1.1.1.1  2001/07/02 17:58:32  simons
13
 * Initial revision
14
 *
15
 * Revision 1.1.2.1  1997/10/17 22:10:43  keil
16
 * new files on 2.0
17
 *
18
 * Revision 1.1  1997/09/11 17:31:34  keil
19
 * Common part for HFC 2BS0 based cards
20
 *
21
 *
22
 */
23
 
24
#define HFC_CTMT        0xe0
25
#define HFC_CIRM        0xc0
26
#define HFC_CIP         0x80
27
#define HFC_Z1          0x00
28
#define HFC_Z2          0x08
29
#define HFC_Z_LOW       0x00
30
#define HFC_Z_HIGH      0x04
31
#define HFC_F1_INC      0x28
32
#define HFC_FIFO_IN     0x2c
33
#define HFC_F1          0x30
34
#define HFC_F2          0x34
35
#define HFC_F2_INC      0x38
36
#define HFC_FIFO_OUT    0x3c
37
#define HFC_B1          0x00
38
#define HFC_B2          0x02
39
#define HFC_REC         0x01
40
#define HFC_SEND        0x00
41
#define HFC_CHANNEL(ch) (ch ? HFC_B2 : HFC_B1)
42
 
43
#define HFC_STATUS      0
44
#define HFC_DATA        1
45
#define HFC_DATA_NODEB  2
46
 
47
/* Status (READ) */
48
#define HFC_BUSY        0x01
49
#define HFC_TIMINT      0x02
50
#define HFC_EXTINT      0x04
51
 
52
/* CTMT (Write) */
53
#define HFC_CLTIMER 0x10
54
#define HFC_TIM50MS 0x08
55
#define HFC_TIMIRQE 0x04
56
#define HFC_TRANSB2 0x02
57
#define HFC_TRANSB1 0x01
58
 
59
/* CIRM (Write) */
60
#define HFC_RESET       0x08
61
#define HFC_MEM8K       0x10
62
#define HFC_INTA        0x01
63
#define HFC_INTB        0x02
64
#define HFC_INTC        0x03
65
#define HFC_INTD        0x04
66
#define HFC_INTE        0x05
67
#define HFC_INTF        0x06
68
 
69
extern void main_irq_hfc(struct BCState *bcs);
70
extern void inithfc(struct IsdnCardState *cs);
71
extern void releasehfc(struct IsdnCardState *cs);

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.