Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Also tell the scsi layer that we are MPSAFE
details: https://anonhg.NetBSD.org/src/rev/395964359de4
branches: trunk
changeset: 446390:395964359de4
user: bouyer <bouyer%NetBSD.org@localhost>
date: Mon Dec 03 23:23:30 2018 +0000
description:
Also tell the scsi layer that we are MPSAFE
diffstat:
sys/dev/pci/mpii.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r c5ff27c74786 -r 395964359de4 sys/dev/pci/mpii.c
--- a/sys/dev/pci/mpii.c Mon Dec 03 22:41:56 2018 +0000
+++ b/sys/dev/pci/mpii.c Mon Dec 03 23:23:30 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpii.c,v 1.15 2018/12/03 22:34:36 bouyer Exp $ */
+/* $NetBSD: mpii.c,v 1.16 2018/12/03 23:23:30 bouyer Exp $ */
/* $OpenBSD: mpii.c,v 1.115 2018/08/14 05:22:21 jmatthew Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
@@ -20,7 +20,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.15 2018/12/03 22:34:36 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.16 2018/12/03 23:23:30 bouyer Exp $");
#include "bio.h"
@@ -615,6 +615,7 @@
adapt->adapt_max_periph = adapt->adapt_openings;
adapt->adapt_request = mpii_scsipi_request;
adapt->adapt_minphys = minphys;
+ adapt->adapt_flags = SCSIPI_ADAPT_MPSAFE;
memset(chan, 0, sizeof(*chan));
chan->chan_adapter = adapt;
Home |
Main Index |
Thread Index |
Old Index