mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-13 09:09:01 -04:00
36 lines
743 B
C
36 lines
743 B
C
/* $NetBSD: conf.c,v 1.7 2008/01/12 09:54:32 tsutsui Exp $ */
|
|
|
|
#include <sys/types.h>
|
|
#include <netinet/in.h>
|
|
#include <netinet/in_systm.h>
|
|
|
|
#include <lib/libsa/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 = __arraycount(file_system);
|
|
|
|
struct devsw devsw[] = {
|
|
{ "net", net_strategy, net_open, net_close, net_ioctl },
|
|
};
|
|
int ndevs = __arraycount(devsw);
|
|
|
|
extern struct netif_driver le_driver;
|
|
extern struct netif_driver ie_driver;
|
|
|
|
struct netif_driver *netif_drivers[] = {
|
|
&le_driver,
|
|
&ie_driver,
|
|
};
|
|
int n_netif_drivers = __arraycount(netif_drivers);
|
|
|
|
|
|
/* XXX */
|
|
int netif_debug;
|
|
int debug;
|
|
int errno;
|
|
int try_bootp = 1;
|