Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci make fallback to PIO actually work properly



details:   https://anonhg.NetBSD.org/src/rev/6e879203d6a0
branches:  trunk
changeset: 821572:6e879203d6a0
user:      macallan <macallan%NetBSD.org@localhost>
date:      Thu Feb 09 20:32:19 2017 +0000

description:
make fallback to PIO actually work properly

diffstat:

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

diffs (27 lines):

diff -r 2721cf3b5a75 -r 6e879203d6a0 sys/dev/pci/trm.c
--- a/sys/dev/pci/trm.c Thu Feb 09 19:30:56 2017 +0000
+++ b/sys/dev/pci/trm.c Thu Feb 09 20:32:19 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trm.c,v 1.37 2016/07/07 06:55:41 msaitoh Exp $ */
+/*     $NetBSD: trm.c,v 1.38 2017/02/09 20:32:19 macallan Exp $        */
 /*-
  * Copyright (c) 2002 Izumi Tsutsui.  All rights reserved.
  *
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trm.c,v 1.37 2016/07/07 06:55:41 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trm.c,v 1.38 2017/02/09 20:32:19 macallan Exp $");
 
 /* #define TRM_DEBUG */
 #ifdef TRM_DEBUG
@@ -412,7 +412,7 @@
        pci_intr_handle_t ih;
        pcireg_t command;
        const char *intrstr;
-       int fl = 0;
+       int fl = -1;
        char intrbuf[PCI_INTRSTR_LEN];
 
        sc->sc_dev = self;



Home | Main Index | Thread Index | Old Index