Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/sys/dev/pci/hdaudio Apply patch (requested by nonaka in t...
details: https://anonhg.NetBSD.org/src/rev/d69643e3b5fb
branches: netbsd-7
changeset: 799488:d69643e3b5fb
user: snj <snj%NetBSD.org@localhost>
date: Fri Jul 17 04:44:41 2015 +0000
description:
Apply patch (requested by nonaka in ticket #881):
Deregister pmf hook when attach failed.
diffstat:
sys/dev/pci/hdaudio/hdaudio_pci.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r a5f95478cac7 -r d69643e3b5fb sys/dev/pci/hdaudio/hdaudio_pci.c
--- a/sys/dev/pci/hdaudio/hdaudio_pci.c Fri Jul 17 04:37:22 2015 +0000
+++ b/sys/dev/pci/hdaudio/hdaudio_pci.c Fri Jul 17 04:44:41 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdaudio_pci.c,v 1.12.4.1 2014/10/30 10:36:52 martin Exp $ */
+/* $NetBSD: hdaudio_pci.c,v 1.12.4.2 2015/07/17 04:44:41 snj Exp $ */
/*
* Copyright (c) 2009 Precedence Technologies Ltd <support%precedence.co.uk@localhost>
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hdaudio_pci.c,v 1.12.4.1 2014/10/30 10:36:52 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hdaudio_pci.c,v 1.12.4.2 2015/07/17 04:44:41 snj Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -172,6 +172,7 @@
csr = pci_conf_read(sc->sc_pc, sc->sc_tag, PCI_COMMAND_STATUS_REG);
csr &= ~(PCI_COMMAND_MASTER_ENABLE | PCI_COMMAND_BACKTOBACK_ENABLE);
pci_conf_write(sc->sc_pc, sc->sc_tag, PCI_COMMAND_STATUS_REG, csr);
+ pmf_device_deregister(self);
}
}
Home |
Main Index |
Thread Index |
Old Index