1996-05-18 01:08:25 +04:00
|
|
|
/* $NetBSD: conf.c,v 1.3 1996/05/17 21:08:38 chuck Exp $ */
|
1995-07-26 03:11:53 +04:00
|
|
|
|
|
|
|
#include <sys/types.h>
|
1995-10-12 23:39:49 +03:00
|
|
|
#include <netinet/in.h>
|
1996-05-18 01:08:25 +04:00
|
|
|
#include <netinet/in_systm.h>
|
1995-10-12 23:39:49 +03:00
|
|
|
|
1996-05-18 01:08:25 +04:00
|
|
|
#include <stand.h>
|
|
|
|
#include <nfs.h>
|
|
|
|
#include <dev_net.h>
|
1995-07-26 03:11:53 +04:00
|
|
|
|
|
|
|
struct fs_ops file_system[] = {
|
|
|
|
{ nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat },
|
|
|
|
};
|
1996-05-18 01:08:25 +04:00
|
|
|
int nfsys = sizeof(file_system) / sizeof(file_system[0]);
|
1995-07-26 03:11:53 +04:00
|
|
|
|
|
|
|
struct devsw devsw[] = {
|
|
|
|
{ "net", net_strategy, net_open, net_close, net_ioctl },
|
|
|
|
};
|
1996-05-18 01:08:25 +04:00
|
|
|
int ndevs = sizeof(devsw) / sizeof(devsw[0]);
|
|
|
|
|
|
|
|
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 = sizeof(netif_drivers) / sizeof(netif_drivers[0]);
|
|
|
|
|
1995-07-26 03:11:53 +04:00
|
|
|
|
|
|
|
/* XXX */
|
|
|
|
int netif_debug;
|
|
|
|
int debug;
|
|
|
|
int errno;
|