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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [drivers/] [isdn/] [hisax/] [hfc_2bs0.h] - Blame information for rev 1765

Go to most recent revision | Details | Compare with Previous | View Log

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