1*dfe00690Smillert /* $OpenBSD: conf.c,v 1.2 1997/05/05 06:01:59 millert Exp $ */ 2*dfe00690Smillert /* $NetBSD: conf.c,v 1.4 1997/04/06 08:41:23 cgd Exp $ */ 350ce9ee0Sniklas 450ce9ee0Sniklas #include <sys/types.h> 550ce9ee0Sniklas #include <netinet/in.h> 650ce9ee0Sniklas 7*dfe00690Smillert #include <lib/libsa/stand.h> 8*dfe00690Smillert #include <lib/libsa/nfs.h> 950ce9ee0Sniklas #include "dev_net.h" 1050ce9ee0Sniklas 1150ce9ee0Sniklas struct fs_ops file_system[] = { 1250ce9ee0Sniklas { nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat }, 1350ce9ee0Sniklas }; 1450ce9ee0Sniklas int nfsys = 1; 1550ce9ee0Sniklas 1650ce9ee0Sniklas struct devsw devsw[] = { 1750ce9ee0Sniklas { "net", net_strategy, net_open, net_close, net_ioctl }, 1850ce9ee0Sniklas }; 1950ce9ee0Sniklas int ndevs = 1; 2050ce9ee0Sniklas 2150ce9ee0Sniklas extern struct netif_driver prom_netif_driver; 2250ce9ee0Sniklas 2350ce9ee0Sniklas struct netif_driver *netif_drivers[] = { 2450ce9ee0Sniklas &prom_netif_driver, 2550ce9ee0Sniklas }; 2650ce9ee0Sniklas int n_netif_drivers = (sizeof(netif_drivers) / sizeof(netif_drivers[0])); 27