diff options
Diffstat (limited to 'sys/arch/aviion/stand/netboot/conf.c')
-rw-r--r-- | sys/arch/aviion/stand/netboot/conf.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys/arch/aviion/stand/netboot/conf.c b/sys/arch/aviion/stand/netboot/conf.c new file mode 100644 index 00000000000..3bb22f8a7a2 --- /dev/null +++ b/sys/arch/aviion/stand/netboot/conf.c @@ -0,0 +1,32 @@ +/* $OpenBSD: conf.c,v 1.1 2006/05/16 22:48:18 miod Exp $ */ + +#include <sys/types.h> +#include <netinet/in.h> +#include <netinet/in_systm.h> + +#include <stand.h> +#include <nfs.h> +#include <dev_net.h> + +struct fs_ops file_system[] = { + { nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat }, +}; +int nfsys = sizeof(file_system) / sizeof(file_system[0]); + +struct devsw devsw[] = { + { "net", net_strategy, net_open, net_close, net_ioctl }, +}; +int ndevs = sizeof(devsw) / sizeof(devsw[0]); + +extern struct netif_driver le_driver; + +struct netif_driver *netif_drivers[] = { + &le_driver, +}; +int n_netif_drivers = sizeof(netif_drivers) / sizeof(netif_drivers[0]); + + +/* XXX */ +int netif_debug; +int debug; +int errno; |