Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Re-enable PCI window decode enable ...



details:   https://anonhg.NetBSD.org/src/rev/847ff85559a0
branches:  trunk
changeset: 319175:847ff85559a0
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat May 19 17:21:42 2018 +0000

description:
Re-enable PCI window decode enable in PCI Command Register upon
successful pci_mapreg_map().

Loosely related to PR #53286.

diffstat:

 sys/dev/pci/pci_map.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d1f4a8556003 -r 847ff85559a0 sys/dev/pci/pci_map.c
--- a/sys/dev/pci/pci_map.c     Sat May 19 17:18:57 2018 +0000
+++ b/sys/dev/pci/pci_map.c     Sat May 19 17:21:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_map.c,v 1.35 2018/05/19 17:18:57 jakllsch Exp $    */
+/*     $NetBSD: pci_map.c,v 1.36 2018/05/19 17:21:42 jakllsch Exp $    */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.35 2018/05/19 17:18:57 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_map.c,v 1.36 2018/05/19 17:21:42 jakllsch Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -43,7 +43,7 @@
 #include <dev/pci/pcireg.h>
 #include <dev/pci/pcivar.h>
 
-bool pci_mapreg_map_enable_decode = false;
+bool pci_mapreg_map_enable_decode = true;
 
 static int
 pci_io_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,



Home | Main Index | Thread Index | Old Index