Source-Changes-HG archive

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

[src/thorpej-cfargs]: src/sys/arch/arm/xscale Need to be explicit about the i...



details:   https://anonhg.NetBSD.org/src/rev/a8415ba51737
branches:  thorpej-cfargs
changeset: 1019769:a8415ba51737
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Apr 18 17:12:01 2021 +0000

description:
Need to be explicit about the interface attribute when attaching the
PCI bus instance because "becc" carries 2 interface attributes.

diffstat:

 sys/arch/arm/xscale/becc.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 2e3ab1737f5e -r a8415ba51737 sys/arch/arm/xscale/becc.c
--- a/sys/arch/arm/xscale/becc.c        Sun Apr 18 16:46:06 2021 +0000
+++ b/sys/arch/arm/xscale/becc.c        Sun Apr 18 17:12:01 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: becc.c,v 1.16.52.6 2021/04/05 01:01:43 thorpej Exp $   */
+/*     $NetBSD: becc.c,v 1.16.52.7 2021/04/18 17:12:01 thorpej Exp $   */
 
 /*
  * Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: becc.c,v 1.16.52.6 2021/04/05 01:01:43 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: becc.c,v 1.16.52.7 2021/04/18 17:12:01 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -212,7 +212,9 @@
        pba.pba_intrtag = 0;
        pba.pba_flags = PCI_FLAGS_IO_OKAY | PCI_FLAGS_MEM_OKAY |
            PCI_FLAGS_MRL_OKAY | PCI_FLAGS_MRM_OKAY | PCI_FLAGS_MWI_OKAY;
-       config_found(sc->sc_dev, &pba, pcibusprint, CFARG_EOL);
+       config_found(sc->sc_dev, &pba, pcibusprint,
+           CFARG_IATTR, "pcibus",
+           CFARG_EOL);
 }
 
 /*



Home | Main Index | Thread Index | Old Index