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 #ifdef CONFIG_IPX
33 #include "inet/ipxcall.h"
34 #endif
35 #ifdef CONFIG_AX25
36 #include "inet/ax25call.h"
37 #endif
38
39 struct ddi_proto protocols[] = {
40 #ifdef CONFIG_UNIX
41 { "UNIX", unix_proto_init },
42 #endif
43 #ifdef CONFIG_IPX
44 { "IPX", ipx_proto_init },
45 #endif
46 #ifdef CONFIG_AX25
47 { "AX.25", ax25_proto_init },
48 #endif
49 #ifdef CONFIG_INET
50 { "INET", inet_proto_init },
51 #endif
52 { NULL, NULL }
53 };
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70 struct ddi_device devices[] = {
71 #if CONF_WE8003
72 { "WD80x3[EBT]",
73 "", 0, 1, we8003_init, NULL,
74 19, 0, DDI_FCHRDEV,
75 { 0x280, 0, 15, 0, 32768, 0xD0000 } },
76 #endif
77 #if CONF_DP8390
78 { "DP8390/WD80x3",
79 "", 0, 1, dpwd8003_init, NULL,
80 20, 0, DDI_FCHRDEV,
81 { 0, 0, 0, 0, 0, 0, } },
82 { "DP8390/NE-x000",
83 "", 0, 1, dpne2000_init, NULL,
84 20, 8, DDI_FCHRDEV,
85 { 0, 0, 0, 0, 0, 0, } },
86 { "DP8390/3C50x",
87 "", 0, 1, dpec503_init, NULL,
88 20, 16, DDI_FCHRDEV,
89 { 0, 0, 0, 0, 0, 0, } },
90 #endif
91 { NULL,
92 "", 0, 0, NULL, NULL,
93 0, 0, 0,
94 { 0, 0, 0, 0, 0, 0 } }
95 };