Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci There's no sensors for physical disks so don't t...
details: https://anonhg.NetBSD.org/src/rev/1ddb002bbbdf
branches: trunk
changeset: 995074:1ddb002bbbdf
user: bouyer <bouyer%NetBSD.org@localhost>
date: Wed Dec 05 10:38:22 2018 +0000
description:
There's no sensors for physical disks so don't try to detach them.
diffstat:
sys/dev/pci/mpii.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 162cee2de234 -r 1ddb002bbbdf sys/dev/pci/mpii.c
--- a/sys/dev/pci/mpii.c Wed Dec 05 10:35:14 2018 +0000
+++ b/sys/dev/pci/mpii.c Wed Dec 05 10:38:22 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpii.c,v 1.17 2018/12/04 19:54:02 bouyer Exp $ */
+/* $NetBSD: mpii.c,v 1.18 2018/12/05 10:38:22 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.17 2018/12/04 19:54:02 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpii.c,v 1.18 2018/12/05 10:38:22 bouyer Exp $");
#include "bio.h"
@@ -2003,8 +2003,6 @@
if (!ISSET(dev->flags, MPII_DF_HIDDEN)) {
scsipi_target_detach(&sc->sc_chan,
dev->slot, 0, DETACH_FORCE);
- sysmon_envsys_sensor_detach(sc->sc_sme,
- &sc->sc_sensors[dev->slot]);
}
free(dev, M_DEVBUF);
Home |
Main Index |
Thread Index |
Old Index