Module Name: src
Committed By: mlelstv
Date: Mon Apr 25 15:06:34 UTC 2022
Modified Files:
src/sys/arch/vax/boot/boot: rom.c vaxstand.h
src/sys/arch/vax/boot/xxboot: bootxx.c
Log Message:
libsa now needs ioctl support to handle media with large sectors.
Provide dummy functions.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/vax/boot/boot/rom.c \
src/sys/arch/vax/boot/boot/vaxstand.h
cvs rdiff -u -r1.38 -r1.39 src/sys/arch/vax/boot/xxboot/bootxx.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/vax/boot/boot/rom.c
diff -u src/sys/arch/vax/boot/boot/rom.c:1.10 src/sys/arch/vax/boot/boot/rom.c:1.11
--- src/sys/arch/vax/boot/boot/rom.c:1.10 Mon May 22 16:59:32 2017
+++ src/sys/arch/vax/boot/boot/rom.c Mon Apr 25 15:06:34 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: rom.c,v 1.10 2017/05/22 16:59:32 ragge Exp $ */
+/* $NetBSD: rom.c,v 1.11 2022/04/25 15:06:34 mlelstv Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -102,3 +102,8 @@ romstrategy (void *f, int func, daddr_t
return 0;
}
+int
+romioctl(struct open_file *f, u_long cmd, void *data)
+{
+ return ENOTTY;
+}
Index: src/sys/arch/vax/boot/boot/vaxstand.h
diff -u src/sys/arch/vax/boot/boot/vaxstand.h:1.10 src/sys/arch/vax/boot/boot/vaxstand.h:1.11
--- src/sys/arch/vax/boot/boot/vaxstand.h:1.10 Mon Mar 19 15:43:45 2018
+++ src/sys/arch/vax/boot/boot/vaxstand.h Mon Apr 25 15:06:34 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: vaxstand.h,v 1.10 2018/03/19 15:43:45 ragge Exp $ */
+/* $NetBSD: vaxstand.h,v 1.11 2022/04/25 15:06:34 mlelstv Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -58,7 +58,8 @@ int ctuopen(struct open_file *, int, int
int tmscpopen(struct open_file *, int, int, int, int),
tmscpstrategy(void *, int, daddr_t, size_t, void *, size_t *);
int romopen(struct open_file *, int, int, int, int),
- romstrategy(void *, int, daddr_t, size_t, void *, size_t *);
+ romstrategy(void *, int, daddr_t, size_t, void *, size_t *),
+ romioctl(struct open_file *, u_long, void *);
int mfmopen(struct open_file *, int, int, int, int),
mfmstrategy(void *, int, daddr_t, size_t, void *, size_t *);
int sdopen(struct open_file *),
Index: src/sys/arch/vax/boot/xxboot/bootxx.c
diff -u src/sys/arch/vax/boot/xxboot/bootxx.c:1.38 src/sys/arch/vax/boot/xxboot/bootxx.c:1.39
--- src/sys/arch/vax/boot/xxboot/bootxx.c:1.38 Tue May 1 07:03:47 2018
+++ src/sys/arch/vax/boot/xxboot/bootxx.c Mon Apr 25 15:06:34 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: bootxx.c,v 1.38 2018/05/01 07:03:47 ragge Exp $ */
+/* $NetBSD: bootxx.c,v 1.39 2022/04/25 15:06:34 mlelstv Exp $ */
/*-
* Copyright (c) 1982, 1986 The Regents of the University of California.
@@ -298,6 +298,12 @@ romstrategy(void *sc, int func, daddr_t
return 0;
}
+int
+romioctl(struct open_file *f, u_long cmd, void *data)
+{
+ return ENOTTY;
+}
+
/*
* The 11/750 boot ROM for Massbus disks doesn't seen to have layout info
* for all RP disks (not RP07 at least) so therefore a very small and dumb