diff options
Diffstat (limited to 'sys/arch/mvme88k/stand/netboot/dev_net.c')
-rw-r--r-- | sys/arch/mvme88k/stand/netboot/dev_net.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/stand/netboot/dev_net.c b/sys/arch/mvme88k/stand/netboot/dev_net.c index 35bb7fdd7c7..fc2922a293b 100644 --- a/sys/arch/mvme88k/stand/netboot/dev_net.c +++ b/sys/arch/mvme88k/stand/netboot/dev_net.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dev_net.c,v 1.3 1999/01/11 05:11:46 millert Exp $ */ +/* $OpenBSD: dev_net.c,v 1.4 2006/05/16 22:52:09 miod Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross @@ -63,6 +63,7 @@ #include "netif.h" #include "config.h" #include "bootparam.h" +#include "nfs.h" extern int nfs_root_node[]; /* XXX - get from nfs_mount() */ @@ -72,6 +73,8 @@ char rootpath[FNAME_SIZE]; int netdev_sock = -1; static int open_count; +int net_mountroot(struct open_file *, char *); + /* * Called by devopen after it sets f->f_dev to our devsw entry. * This opens the low-level device and sets f->f_devdata. @@ -105,6 +108,7 @@ net_close(f) if (--open_count == 0) netif_close(netdev_sock); f->f_devdata = NULL; + return (0); } int |