Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Add "d_minphys" to "mddkdriver" to make physio() on ...
details: https://anonhg.NetBSD.org/src/rev/5541096426e0
branches: trunk
changeset: 965038:5541096426e0
user: hannken <hannken%NetBSD.org@localhost>
date: Thu Aug 29 16:20:48 2019 +0000
description:
Add "d_minphys" to "mddkdriver" to make physio() on wedges happy.
diffstat:
sys/dev/md.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r b45f781c0a69 -r 5541096426e0 sys/dev/md.c
--- a/sys/dev/md.c Thu Aug 29 16:08:14 2019 +0000
+++ b/sys/dev/md.c Thu Aug 29 16:20:48 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.81 2019/05/26 10:22:07 hannken Exp $ */
+/* $NetBSD: md.c,v 1.82 2019/08/29 16:20:48 hannken Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross, Leo Weppelman.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.81 2019/05/26 10:22:07 hannken Exp $");
+__KERNEL_RCSID(0, "$NetBSD: md.c,v 1.82 2019/08/29 16:20:48 hannken Exp $");
#ifdef _KERNEL_OPT
#include "opt_md.h"
@@ -132,7 +132,8 @@
};
static struct dkdriver mddkdriver = {
- .d_strategy = mdstrategy
+ .d_strategy = mdstrategy,
+ .d_minphys = minphys
};
CFATTACH_DECL3_NEW(md, sizeof(struct md_softc),
Home |
Main Index |
Thread Index |
Old Index