c188bc0cbd
and then modified to work with CFE as the firmware.
26 lines
605 B
C
26 lines
605 B
C
/* $NetBSD: conf.c,v 1.1 2002/11/09 06:20:41 cgd Exp $ */
|
|
|
|
#include <sys/types.h>
|
|
#include <netinet/in.h>
|
|
|
|
#include <lib/libsa/stand.h>
|
|
#include <lib/libsa/nfs.h>
|
|
#include <lib/libsa/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;
|
|
|
|
struct netif_driver *netif_drivers[] = {
|
|
&prom_netif_driver,
|
|
};
|
|
int n_netif_drivers = (sizeof(netif_drivers) / sizeof(netif_drivers[0]));
|