1/* $NetBSD: conf.c,v 1.6 2005/12/11 12:18:19 christos Exp $ */ 2 3#include <sys/types.h> 4#include <netinet/in.h> 5#include <netinet/in_systm.h> 6 7#include <lib/libsa/stand.h> 8#include <nfs.h> 9#include <dev_net.h> 10 11struct fs_ops file_system[] = { 12 { nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat }, 13}; 14int nfsys = __arraycount(file_system); 15 16struct devsw devsw[] = { 17 { "net", net_strategy, net_open, net_close, net_ioctl }, 18}; 19int ndevs = __arraycount(devsw); 20 21extern struct netif_driver le_driver; 22extern struct netif_driver ie_driver; 23 24struct netif_driver *netif_drivers[] = { 25 &le_driver, 26 &ie_driver, 27}; 28int n_netif_drivers = __arraycount(netif_drivers); 29 30 31/* XXX */ 32int netif_debug; 33int debug; 34int errno; 35int try_bootp = 1; 36