blob: e1b26c65e080d9d92227a687a204959927b8c780 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/* $OpenBSD: conf.c,v 1.1 2004/01/26 19:48:34 miod Exp $ */
#include <sys/types.h>
#include <machine/prom.h>
#include <stand.h>
#include "tftpfs.h"
#include "netdev.h"
#include "libsa.h"
struct fs_ops file_system[] = {
{ tftpfs_open, tftpfs_close, tftpfs_read, tftpfs_write, tftpfs_seek, tftpfs_stat },
};
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]));
|