conf.c revision 1.1 1 /* $NetBSD: conf.c,v 1.1 2002/11/09 06:20:41 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 <lib/libsa/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