Module Name: src
Committed By: thorpej
Date: Sun Apr 18 17:12:01 UTC 2021
Modified Files:
src/sys/arch/arm/xscale [thorpej-cfargs]: becc.c
Log Message:
Need to be explicit about the interface attribute when attaching the
PCI bus instance because "becc" carries 2 interface attributes.
To generate a diff of this commit:
cvs rdiff -u -r1.16.52.6 -r1.16.52.7 src/sys/arch/arm/xscale/becc.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/arch/arm/xscale/becc.c
diff -u src/sys/arch/arm/xscale/becc.c:1.16.52.6 src/sys/arch/arm/xscale/becc.c:1.16.52.7
--- src/sys/arch/arm/xscale/becc.c:1.16.52.6 Mon Apr 5 01:01:43 2021
+++ src/sys/arch/arm/xscale/becc.c Sun Apr 18 17:12:01 2021
@@ -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 @@ becc_attach(struct becc_softc *sc)
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);
}
/*