Module Name: src Committed By: macallan Date: Thu Feb 9 20:32:19 UTC 2017
Modified Files: src/sys/dev/pci: trm.c Log Message: make fallback to PIO actually work properly To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/sys/dev/pci/trm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/pci/trm.c diff -u src/sys/dev/pci/trm.c:1.37 src/sys/dev/pci/trm.c:1.38 --- src/sys/dev/pci/trm.c:1.37 Thu Jul 7 06:55:41 2016 +++ src/sys/dev/pci/trm.c Thu Feb 9 20:32:19 2017 @@ -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 @@ trm_attach(device_t parent, device_t sel 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;