[BACK]Return to conf.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / mvmeppc / stand / boot

File: [cvs.NetBSD.org] / src / sys / arch / mvmeppc / stand / boot / conf.c (download)

Revision 1.2, Thu Jun 23 19:44:01 2005 UTC (17 years, 5 months ago) by junyoung
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-lazymbuf, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.1: +3 -3 lines

Use FS_OPS() macro.

/*	$NetBSD: conf.c,v 1.2 2005/06/23 19:44:01 junyoung 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[] = {
	FS_OPS(nfs),
};
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 bug_driver;

struct netif_driver *netif_drivers[] = {
	&bug_driver
};
int n_netif_drivers = sizeof(netif_drivers) / sizeof(netif_drivers[0]);

int try_bootp = 1;