Go to the documentation of this file.
6 #define EL2H (dev->base_addr + 0x400)
7 #define EL2L (dev->base_addr)
12 #define OLD_3COM_ID 0x02608c
13 #define NEW_3COM_ID 0x0020af
20 #define EL2_MB0_START_PG (0x00)
21 #define EL2_MB1_START_PG (0x20)
22 #define EL2_MB1_STOP_PG (0x40)
25 #define E33G_STARTPG (EL2H+0)
26 #define E33G_STOPPG (EL2H+1)
27 #define E33G_DRQCNT (EL2H+2)
28 #define E33G_IOBASE (EL2H+3)
30 #define E33G_ROMBASE (EL2H+4)
31 #define E33G_GACFR (EL2H+5)
32 #define E33G_CNTRL (EL2H+6)
33 #define E33G_STATUS (EL2H+7)
34 #define E33G_IDCFR (EL2H+8)
36 #define E33G_DMAAH (EL2H+9)
37 #define E33G_DMAAL (EL2H+10)
40 #define E33G_VP2 (EL2H+11)
41 #define E33G_VP1 (EL2H+12)
42 #define E33G_VP0 (EL2H+13)
43 #define E33G_FIFOH (EL2H+14)
44 #define E33G_FIFOL (EL2H+15)
48 #define ECNTRL_RESET (0x01)
49 #define ECNTRL_THIN (0x02)
50 #define ECNTRL_AUI (0x00)
51 #define ECNTRL_SAPROM (0x04)
52 #define ECNTRL_DBLBFR (0x20)
53 #define ECNTRL_OUTPUT (0x40)
54 #define ECNTRL_INPUT (0x00)
55 #define ECNTRL_START (0x80)
59 #define ESTAT_DPRDY (0x80)
60 #define ESTAT_UFLW (0x40)
61 #define ESTAT_OFLW (0x20)
62 #define ESTAT_DTC (0x10)
63 #define ESTAT_DIP (0x08)
67 #define EGACFR_NIM (0x80)
68 #define EGACFR_TCM (0x40)
69 #define EGACFR_RSEL (0x08)
70 #define EGACFR_MBS2 (0x04)
71 #define EGACFR_MBS1 (0x02)
72 #define EGACFR_MBS0 (0x01)
74 #define EGACFR_NORM (0x49)
75 #define EGACFR_IRQOFF (0xc9)