xref: /openbsd/sys/arch/alpha/stand/netboot/conf.c (revision 50ce9ee0)
1*50ce9ee0Sniklas /*	$OpenBSD: conf.c,v 1.1 1996/10/30 22:40:52 niklas Exp $	*/
2*50ce9ee0Sniklas /*	$NetBSD: conf.c,v 1.2 1996/10/02 21:18:45 cgd Exp $	*/
3*50ce9ee0Sniklas 
4*50ce9ee0Sniklas #include <sys/types.h>
5*50ce9ee0Sniklas #include <netinet/in.h>
6*50ce9ee0Sniklas 
7*50ce9ee0Sniklas #include "stand.h"
8*50ce9ee0Sniklas #include "nfs.h"
9*50ce9ee0Sniklas #include "dev_net.h"
10*50ce9ee0Sniklas 
11*50ce9ee0Sniklas struct fs_ops file_system[] = {
12*50ce9ee0Sniklas 	{ nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_stat },
13*50ce9ee0Sniklas };
14*50ce9ee0Sniklas int nfsys = 1;
15*50ce9ee0Sniklas 
16*50ce9ee0Sniklas struct devsw devsw[] = {
17*50ce9ee0Sniklas 	{ "net",  net_strategy,  net_open,  net_close,  net_ioctl },
18*50ce9ee0Sniklas };
19*50ce9ee0Sniklas int	ndevs = 1;
20*50ce9ee0Sniklas 
21*50ce9ee0Sniklas extern struct netif_driver prom_netif_driver;
22*50ce9ee0Sniklas 
23*50ce9ee0Sniklas struct netif_driver *netif_drivers[] = {
24*50ce9ee0Sniklas 	&prom_netif_driver,
25*50ce9ee0Sniklas };
26*50ce9ee0Sniklas int	n_netif_drivers = (sizeof(netif_drivers) / sizeof(netif_drivers[0]));
27