Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/boot libsa now needs ioctl support to handle me...
details: https://anonhg.NetBSD.org/src/rev/04e98b116cff
branches: trunk
changeset: 365801:04e98b116cff
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Mon Apr 25 15:06:34 2022 +0000
description:
libsa now needs ioctl support to handle media with large sectors.
Provide dummy functions.
diffstat:
sys/arch/vax/boot/boot/rom.c | 7 ++++++-
sys/arch/vax/boot/boot/vaxstand.h | 5 +++--
sys/arch/vax/boot/xxboot/bootxx.c | 8 +++++++-
3 files changed, 16 insertions(+), 4 deletions(-)
diffs (59 lines):
diff -r 19dd838fc079 -r 04e98b116cff sys/arch/vax/boot/boot/rom.c
--- a/sys/arch/vax/boot/boot/rom.c Mon Apr 25 14:46:38 2022 +0000
+++ b/sys/arch/vax/boot/boot/rom.c Mon Apr 25 15:06:34 2022 +0000
@@ -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 @@
return 0;
}
+int
+romioctl(struct open_file *f, u_long cmd, void *data)
+{
+ return ENOTTY;
+}
diff -r 19dd838fc079 -r 04e98b116cff sys/arch/vax/boot/boot/vaxstand.h
--- a/sys/arch/vax/boot/boot/vaxstand.h Mon Apr 25 14:46:38 2022 +0000
+++ b/sys/arch/vax/boot/boot/vaxstand.h Mon Apr 25 15:06:34 2022 +0000
@@ -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 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 *),
diff -r 19dd838fc079 -r 04e98b116cff sys/arch/vax/boot/xxboot/bootxx.c
--- a/sys/arch/vax/boot/xxboot/bootxx.c Mon Apr 25 14:46:38 2022 +0000
+++ b/sys/arch/vax/boot/xxboot/bootxx.c Mon Apr 25 15:06:34 2022 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index