diff options
author | gingold <gingold@cvs.openbsd.org> | 1997-10-14 07:25:35 +0000 |
---|---|---|
committer | gingold <gingold@cvs.openbsd.org> | 1997-10-14 07:25:35 +0000 |
commit | f6491d400ca651a8a1493d72c6a74c622aa231b1 (patch) | |
tree | 39f29255154f230f637c12e9214f12a9e64bd9d4 /sys/arch/kbus/stand/netboot/conf.c | |
parent | 7a9e3739a66bd0fadfdc611c72e879fcc6f9ef01 (diff) |
Gingold's port for kbus Series5 machine. Not fully finished and not very stable
Diffstat (limited to 'sys/arch/kbus/stand/netboot/conf.c')
-rw-r--r-- | sys/arch/kbus/stand/netboot/conf.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys/arch/kbus/stand/netboot/conf.c b/sys/arch/kbus/stand/netboot/conf.c new file mode 100644 index 00000000000..52fac630459 --- /dev/null +++ b/sys/arch/kbus/stand/netboot/conf.c @@ -0,0 +1,32 @@ +/* $Id: conf.c,v 1.1 1997/10/14 07:25:32 gingold 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[] = { + { nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek, nfs_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]); + +extern struct netif_driver le_driver; + +struct netif_driver *netif_drivers[] = { + &le_driver +}; +int n_netif_drivers = sizeof(netif_drivers) / sizeof(netif_drivers[0]); + + +/* XXX */ +int netif_debug; +int debug; +int errno; |