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