1
2
3
4
5
6
7
8
9
10
11 #include <linux/config.h>
12 #include <linux/types.h>
13 #include <linux/kernel.h>
14 #include <linux/ddi.h>
15
16
17 #define CONFIG_UNIX YES
18
19
20
21
22
23
24
25
26 #ifdef CONFIG_UNIX
27 # include "unix/unix.h"
28 #endif
29 #ifdef CONFIG_INET
30 # include "inet/inet.h"
31 #endif
32
33 struct ddi_proto protocols[] = {
34 #ifdef CONFIG_UNIX
35 { "UNIX", unix_proto_init },
36 #endif
37 #ifdef CONFIG_INET
38 { "INET", inet_proto_init },
39 #endif
40 { NULL, NULL }
41 };
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 struct ddi_device devices[] = {
59 #if CONF_WE8003
60 { "WD80x3[EBT]",
61 "", 0, 1, we8003_init, NULL,
62 19, 0, DDI_FCHRDEV,
63 { 0x280, 0, 15, 0, 32768, 0xD0000 } },
64 #endif
65 #if CONF_DP8390
66 { "DP8390/WD80x3",
67 "", 0, 1, dpwd8003_init, NULL,
68 20, 0, DDI_FCHRDEV,
69 { 0, 0, 0, 0, 0, 0, } },
70 { "DP8390/NE-x000",
71 "", 0, 1, dpne2000_init, NULL,
72 20, 8, DDI_FCHRDEV,
73 { 0, 0, 0, 0, 0, 0, } },
74 { "DP8390/3C50x",
75 "", 0, 1, dpec503_init, NULL,
76 20, 16, DDI_FCHRDEV,
77 { 0, 0, 0, 0, 0, 0, } },
78 #endif
79 { NULL,
80 "", 0, 0, NULL, NULL,
81 0, 0, 0,
82 { 0, 0, 0, 0, 0, 0 } }
83 };