Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej-cfargs]: src/sys/dev/pci There are two interface attriubtues on ...
details: https://anonhg.NetBSD.org/src/rev/b9f4b0b78091
branches: thorpej-cfargs
changeset: 954174:b9f4b0b78091
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Mar 31 01:44:59 2021 +0000
description:
There are two interface attriubtues on this device, so we need to be
explcit about it in BOTH config_found() calls.
diffstat:
sys/dev/pci/voodoofb.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diffs (33 lines):
diff -r d32d6efc2147 -r b9f4b0b78091 sys/dev/pci/voodoofb.c
--- a/sys/dev/pci/voodoofb.c Sun Mar 28 20:41:04 2021 +0000
+++ b/sys/dev/pci/voodoofb.c Wed Mar 31 01:44:59 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: voodoofb.c,v 1.53.10.1 2021/03/21 21:09:14 thorpej Exp $ */
+/* $NetBSD: voodoofb.c,v 1.53.10.2 2021/03/31 01:44:59 thorpej Exp $ */
/*
* Copyright (c) 2005, 2006, 2012 Michael Lorenz
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.53.10.1 2021/03/21 21:09:14 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: voodoofb.c,v 1.53.10.2 2021/03/31 01:44:59 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -546,8 +546,12 @@
aa.accessops = &voodoofb_accessops;
aa.accesscookie = &sc->vd;
- config_found(self, &aa, wsemuldisplaydevprint, CFARG_EOL);
- config_found_ia(self, "drm", aux, voodoofb_drm_print);
+ config_found(self, &aa, wsemuldisplaydevprint,
+ CFARG_IATTR, "wsemuldisplaydev",
+ CFARG_EOL);
+ config_found(self, aux, voodoofb_drm_print,
+ CFARG_IATTR, "drm",
+ CFARG_EOL);
}
static int
Home |
Main Index |
Thread Index |
Old Index