summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/stand/netboot/conf.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-30 22:41:57 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-10-30 22:41:57 +0000
commit072b56c97e17e8e69ddab5a735b5297387a88a70 (patch)
tree22eaee09956502609c240ddff8a108d8733521f9 /sys/arch/alpha/stand/netboot/conf.c
parentb85b15782739220b5bf2563ccdc7ac9e256a31d2 (diff)
Merge to NetBSD 961020. Retained our kernel APIs where NetBSD has changed.
-Wall -Wstrict-prototypes -Wmissing-prototypes too.
Diffstat (limited to 'sys/arch/alpha/stand/netboot/conf.c')
-rw-r--r--sys/arch/alpha/stand/netboot/conf.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/sys/arch/alpha/stand/netboot/conf.c b/sys/arch/alpha/stand/netboot/conf.c
new file mode 100644
index 00000000000..b40ffacf7be
--- /dev/null
+++ b/sys/arch/alpha/stand/netboot/conf.c
@@ -0,0 +1,26 @@
+/* $OpenBSD: conf.c,v 1.1 1996/10/30 22:40:52 niklas Exp $ */
+/* $NetBSD: conf.c,v 1.2 1996/10/02 21:18:45 cgd Exp $ */
+
+#include <sys/types.h>
+#include <netinet/in.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 = 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]));