summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/pxeboot
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/pxeboot')
-rw-r--r--sys/arch/i386/stand/pxeboot/Makefile4
-rw-r--r--sys/arch/i386/stand/pxeboot/conf.c9
2 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/pxeboot/Makefile b/sys/arch/i386/stand/pxeboot/Makefile
index 8289afb8ad9..cf47455b888 100644
--- a/sys/arch/i386/stand/pxeboot/Makefile
+++ b/sys/arch/i386/stand/pxeboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.32 2019/11/28 00:17:12 bluhm Exp $
+# $OpenBSD: Makefile,v 1.33 2020/03/21 14:54:06 otto Exp $
MAN= pxeboot.8
@@ -35,7 +35,7 @@ SRCS+= alloc.c ctime.c exit.c getchar.c globals.c hexdump.c \
SRCS+= close.c closeall.c cons.c cread.c dev.c disklabel.c dkcksum.c fchmod.c \
fstat.c lseek.c read.c readdir.c stat.c
SRCS+= elf32.c elf64.c loadfile.c arc4.c
-SRCS+= nfs.c ufs.c tftp.c
+SRCS+= nfs.c ufs.c ufs2.c tftp.c
SRCS+= bootp.c ether.c net.c netif.c rpc.c
SRCS+= aes_xts.c bcrypt_pbkdf.c blowfish.c explicit_bzero.c hmac_sha1.c \
pkcs5_pbkdf2.c rijndael.c sha1.c sha2.c softraid.c
diff --git a/sys/arch/i386/stand/pxeboot/conf.c b/sys/arch/i386/stand/pxeboot/conf.c
index c1ecad5f519..fc686b103a2 100644
--- a/sys/arch/i386/stand/pxeboot/conf.c
+++ b/sys/arch/i386/stand/pxeboot/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.44 2019/10/29 02:55:51 deraadt Exp $ */
+/* $OpenBSD: conf.c,v 1.45 2020/03/21 14:54:06 otto Exp $ */
/*
* Copyright (c) 2004 Tom Cosgrove
@@ -31,6 +31,7 @@
#include <netinet/in.h>
#include <libsa.h>
#include <lib/libsa/ufs.h>
+#include <lib/libsa/ufs2.h>
#ifdef notdef
#include <lib/libsa/cd9660.h>
#include <lib/libsa/fat.h>
@@ -44,7 +45,7 @@
#include "pxeboot.h"
#include "pxe_net.h"
-const char version[] = "3.35";
+const char version[] = "3.36";
int debug = 1;
void (*sa_cleanup)(void) = pxe_shutdown;
@@ -71,13 +72,15 @@ int nibprobes = nitems(probe_list);
/* This next list must match file_system[]. */
char *fs_name[] = {
- NULL, "tftp", "nfs"
+ NULL, NULL, "tftp", "nfs"
};
int nfsname = nitems(fs_name);
struct fs_ops file_system[] = {
{ ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek,
ufs_stat, ufs_readdir, ufs_fchmod },
+ { ufs2_open, ufs2_close, ufs2_read, ufs2_write, ufs2_seek,
+ ufs2_stat, ufs2_readdir, ufs2_fchmod },
{ tftp_open, tftp_close, tftp_read, tftp_write, tftp_seek,
tftp_stat, tftp_readdir },
{ nfs_open, nfs_close, nfs_read, nfs_write, nfs_seek,