xref: /netbsd/sys/arch/alpha/stand/netboot/conf.c (revision 562fa9b9)
1 /* $NetBSD: conf.c,v 1.4 1997/04/06 08:41:23 cgd Exp $ */
2 
3 #include <sys/types.h>
4 #include <netinet/in.h>
5 
6 #include <lib/libsa/stand.h>
7 #include <lib/libsa/nfs.h>
8 #include "dev_net.h"
9 
10 struct fs_ops file_system[] = {
11 	{ nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat },
12 };
13 int nfsys = 1;
14 
15 struct devsw devsw[] = {
16 	{ "net",  net_strategy,  net_open,  net_close,  net_ioctl },
17 };
18 int	ndevs = 1;
19 
20 extern struct netif_driver prom_netif_driver;
21 
22 struct netif_driver *netif_drivers[] = {
23 	&prom_netif_driver,
24 };
25 int	n_netif_drivers = (sizeof(netif_drivers) / sizeof(netif_drivers[0]));
26