Go to the documentation of this file.
16 #define KS8695_MISC_OFFSET (0xF0000 + 0xEA00)
17 #define KS8695_MISC_VA (KS8695_IO_VA + KS8695_MISC_OFFSET)
18 #define KS8695_MISC_PA (KS8695_IO_PA + KS8695_MISC_OFFSET)
24 #define KS8695_DID (0x00)
25 #define KS8695_RID (0x04)
26 #define KS8695_HMC (0x08)
27 #define KS8695_WMC (0x0c)
28 #define KS8695_WPPM (0x10)
29 #define KS8695_PPS (0x1c)
32 #define DID_ID (0xffff << 0)
35 #define RID_SUBID (0xf << 4)
36 #define RID_REVISION (0xf << 0)
39 #define HMC_HSS (1 << 1)
40 #define HMC_HDS (1 << 0)
43 #define WMC_WANC (1 << 30)
44 #define WMC_WANR (1 << 29)
45 #define WMC_WANAP (1 << 28)
46 #define WMC_WANA100F (1 << 27)
47 #define WMC_WANA100H (1 << 26)
48 #define WMC_WANA10F (1 << 25)
49 #define WMC_WANA10H (1 << 24)
50 #define WMC_WLS (1 << 23)
51 #define WMC_WDS (1 << 22)
52 #define WMC_WSS (1 << 21)
53 #define WMC_WLPP (1 << 20)
54 #define WMC_WLP100F (1 << 19)
55 #define WMC_WLP100H (1 << 18)
56 #define WMC_WLP10F (1 << 17)
57 #define WMC_WLP10H (1 << 16)
58 #define WMC_WAND (1 << 15)
59 #define WMC_WANF100 (1 << 14)
60 #define WMC_WANFF (1 << 13)
61 #define WMC_WLED1S (7 << 4)
62 #define WLED1S_SPEED (0 << 4)
63 #define WLED1S_LINK (1 << 4)
64 #define WLED1S_DUPLEX (2 << 4)
65 #define WLED1S_COLLISION (3 << 4)
66 #define WLED1S_ACTIVITY (4 << 4)
67 #define WLED1S_FDX_COLLISION (5 << 4)
68 #define WLED1S_LINK_ACTIVITY (6 << 4)
69 #define WMC_WLED0S (7 << 0)
70 #define WLED0S_SPEED (0 << 0)
71 #define WLED0S_LINK (1 << 0)
72 #define WLED0S_DUPLEX (2 << 0)
73 #define WLED0S_COLLISION (3 << 0)
74 #define WLED0S_ACTIVITY (4 << 0)
75 #define WLED0S_FDX_COLLISION (5 << 0)
76 #define WLED0S_LINK_ACTIVITY (6 << 0)
79 #define WPPM_WLPBK (1 << 14)
80 #define WPPM_WRLPKB (1 << 13)
81 #define WPPM_WPI (1 << 12)
82 #define WPPM_WFL (1 << 10)
83 #define WPPM_MDIXS (1 << 9)
84 #define WPPM_FEF (1 << 8)
85 #define WPPM_AMDIXP (1 << 7)
86 #define WPPM_TXDIS (1 << 6)
87 #define WPPM_DFEF (1 << 5)
88 #define WPPM_PD (1 << 4)
89 #define WPPM_DMDX (1 << 3)
90 #define WPPM_FMDX (1 << 2)
91 #define WPPM_LPBK (1 << 1)
94 #define PPS_PPSM (1 << 0)