Go to the documentation of this file.
16 #define KS8695_LAN_OFFSET (0xF0000 + 0x8000)
17 #define KS8695_LAN_VA (KS8695_IO_VA + KS8695_LAN_OFFSET)
18 #define KS8695_LAN_PA (KS8695_IO_PA + KS8695_LAN_OFFSET)
24 #define KS8695_LMDTXC (0x00)
25 #define KS8695_LMDRXC (0x04)
26 #define KS8695_LMDTSC (0x08)
27 #define KS8695_LMDRSC (0x0c)
28 #define KS8695_LTDLB (0x10)
29 #define KS8695_LRDLB (0x14)
30 #define KS8695_LMAL (0x18)
31 #define KS8695_LMAH (0x1c)
32 #define KS8695_LMAAL(n) (0x80 + ((n)*8))
33 #define KS8695_LMAAH(n) (0x84 + ((n)*8))
37 #define LMDTXC_LMTRST (1 << 31)
38 #define LMDTXC_LMTBS (0x3f << 24)
39 #define LMDTXC_LMTUCG (1 << 18)
40 #define LMDTXC_LMTTCG (1 << 17)
41 #define LMDTXC_LMTICG (1 << 16)
42 #define LMDTXC_LMTFCE (1 << 9)
43 #define LMDTXC_LMTLB (1 << 8)
44 #define LMDTXC_LMTEP (1 << 2)
45 #define LMDTXC_LMTAC (1 << 1)
46 #define LMDTXC_LMTE (1 << 0)
49 #define LMDRXC_LMRBS (0x3f << 24)
50 #define LMDRXC_LMRUCC (1 << 18)
51 #define LMDRXC_LMRTCG (1 << 17)
52 #define LMDRXC_LMRICG (1 << 16)
53 #define LMDRXC_LMRFCE (1 << 9)
54 #define LMDRXC_LMRB (1 << 6)
55 #define LMDRXC_LMRM (1 << 5)
56 #define LMDRXC_LMRU (1 << 4)
57 #define LMDRXC_LMRERR (1 << 3)
58 #define LMDRXC_LMRA (1 << 2)
59 #define LMDRXC_LMRE (1 << 1)
62 #define LMAAH_E (1 << 31)