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/e13ff2581ba8
branches: trunk
changeset: 453860:e13ff2581ba8
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 fe2d689c17ed -r e13ff2581ba8 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