summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/netboot/conf.c
blob: ab297f36ce42f5e66bdb2d41e5606a7285811184 (plain)
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
/*	$OpenBSD: conf.c,v 1.3 1999/09/27 19:30:01 smurph Exp $ */

#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/in_systm.h>

#include <stand.h>
#include <nfs.h>
#include <dev_net.h>

struct fs_ops file_system[] = {
	{ nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat },
};
int nfsys = sizeof(file_system) / sizeof(file_system[0]);

struct devsw devsw[] = {
	{ "net",  net_strategy,  net_open,  net_close,  net_ioctl },
};
int	ndevs = sizeof(devsw) / sizeof(devsw[0]);
/*
extern struct netif_driver le_driver;
*/
extern struct netif_driver ie_driver;

struct netif_driver *netif_drivers[] = {
   &ie_driver,
/*	
   &le_driver,
*/
};
int n_netif_drivers = sizeof(netif_drivers) / sizeof(netif_drivers[0]);


/* XXX */
int netif_debug;
int debug;
int errno;