1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
/*
 * Space.c	Defines which protocol modules and I/O device drivers get
 *		linked into the LINUX kernel.  Currently, this is only used
 *		by the NET layer of LINUX, but it eventually might move to
 *		an upper directory of the system.
 *
 * Version:	@(#)Space.c	1.0.2	04/22/93
 *
 * Author:	Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
 */
#include <linux/config.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/ddi.h>


#define CONFIG_UNIX		YES		/* always present...	*/


/*
 * Section A:	Networking Protocol Handlers.
 *		This section defines which networking protocols get
 *		linked into the SOCKET layer of the Linux kernel.
 *		Currently, these are AF_UNIX (always) and AF_INET.
 */
#ifdef	CONFIG_UNIX
#  include "unix/unix.h"
#endif
#ifdef	CONFIG_INET
#  include "inet/inet.h"
#endif
#ifdef CONFIG_IPX
#include "inet/ipxcall.h"
#endif
#ifdef CONFIG_AX25
#include "inet/ax25call.h"
#endif

struct ddi_proto protocols[] = {
#ifdef	CONFIG_UNIX
  { "UNIX",	unix_proto_init	},
#endif
#ifdef  CONFIG_IPX
  { "IPX",	ipx_proto_init },
#endif
#ifdef CONFIG_AX25  
  { "AX.25",	ax25_proto_init },
#endif  
#ifdef	CONFIG_INET
  { "INET",	inet_proto_init	},
#endif
  { NULL,	NULL		}
};


/*
 * Section B:	Device Driver Modules.
 *		This section defines which network device drivers
 *		get linked into the Linux kernel.  It is currently
 *		only used by the INET protocol.  Any takers for the
 *		other protocols like XNS or Novell?
 *
 * WARNING:	THIS SECTION IS NOT YET USED BY THE DRIVERS !!!!!
 */
/*#include "drv/we8003/we8003.h"	Western Digital WD-80[01]3	*/
/*#include "drv/dp8390/dp8390.h"	Donald Becker's DP8390 kit	*/
/*#inclde "drv/slip/slip.h"		Laurence Culhane's SLIP kit	*/


struct ddi_device devices[] = {
#if CONF_WE8003
  { "WD80x3[EBT]",
	"",	0,	1,	we8003_init,	NULL,
	19,	0,	DDI_FCHRDEV,
    { 0x280,	0,	15,	0,	32768,	0xD0000		}	},
#endif
#if CONF_DP8390
  { "DP8390/WD80x3",
	"",	0,	1,	dpwd8003_init,	NULL,
	20,	0,	DDI_FCHRDEV,
    {	0,	0,	0,	0,	0,	0,		}	},
  { "DP8390/NE-x000",
	"",	0,	1,	dpne2000_init,	NULL,
	20,	8,	DDI_FCHRDEV,
    {	0,	0,	0,	0,	0,	0,		}	},
  { "DP8390/3C50x",
	"",	0,	1,	dpec503_init,	NULL,
	20,	16,	DDI_FCHRDEV,
    {	0,	0,	0,	0,	0,	0,		}	},
#endif
  { NULL,
	"",	0,	0,	NULL,		NULL,
	0,	0,	0,
    {	0,	0,	0,	0,	0,	0		}	}
};
掌心的温暖 是你紧握著的光芒 透过了指缝 一星半点投奔向远方