1997-04-06 12:39:37 +04:00
|
|
|
/* $NetBSD: conf.c,v 1.4 1997/04/06 08:41:23 cgd Exp $ */
|
1996-09-19 00:03:04 +04:00
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <netinet/in.h>
|
|
|
|
|
1997-01-16 04:21:36 +03:00
|
|
|
#include <lib/libsa/stand.h>
|
|
|
|
#include <lib/libsa/nfs.h>
|
1996-09-19 00:03:04 +04:00
|
|
|
#include "dev_net.h"
|
|
|
|
|
|
|
|
struct fs_ops file_system[] = {
|
|
|
|
{ nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat },
|
|
|
|
};
|
|
|
|
int nfsys = 1;
|
|
|
|
|
|
|
|
struct devsw devsw[] = {
|
|
|
|
{ "net", net_strategy, net_open, net_close, net_ioctl },
|
|
|
|
};
|
|
|
|
int ndevs = 1;
|
|
|
|
|
|
|
|
extern struct netif_driver prom_netif_driver;
|
1996-10-03 01:18:45 +04:00
|
|
|
|
1996-09-19 00:03:04 +04:00
|
|
|
struct netif_driver *netif_drivers[] = {
|
1996-10-03 01:18:45 +04:00
|
|
|
&prom_netif_driver,
|
|
|
|
};
|
|
|
|
int n_netif_drivers = (sizeof(netif_drivers) / sizeof(netif_drivers[0]));
|