Module Name:    src
Committed By:   hannken
Date:           Thu Aug 29 16:20:48 UTC 2019

Modified Files:
        src/sys/dev: md.c

Log Message:
Add "d_minphys" to "mddkdriver" to make physio() on wedges happy.


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/md.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/dev/md.c
diff -u src/sys/dev/md.c:1.81 src/sys/dev/md.c:1.82
--- src/sys/dev/md.c:1.81	Sun May 26 10:22:07 2019
+++ src/sys/dev/md.c	Thu Aug 29 16:20:48 2019
@@ -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 @@ const struct cdevsw md_cdevsw = {
 };
 
 static struct dkdriver mddkdriver = {
-	.d_strategy = mdstrategy
+	.d_strategy = mdstrategy,
+	.d_minphys = minphys
 };
 
 CFATTACH_DECL3_NEW(md, sizeof(struct md_softc),

Reply via email to