summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-01-31 22:36:15 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-01-31 22:36:15 +0000
commit79bb63c804a2f3d39bb08ed37b1e8d78caef29be (patch)
tree37bbe1a554568950873469f93eae90560c4504a6 /sys/arch/sparc64
parent037bed75369504b6c823edaada77fe95ceba70e1 (diff)
add support for USER_PCICONF
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/sparc64/conf.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/arch/sparc64/sparc64/conf.c b/sys/arch/sparc64/sparc64/conf.c
index 5285ababb71..d77476892f0 100644
--- a/sys/arch/sparc64/sparc64/conf.c
+++ b/sys/arch/sparc64/sparc64/conf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: conf.c,v 1.27 2002/01/31 00:01:59 jason Exp $ */
+/* $OpenBSD: conf.c,v 1.28 2002/01/31 22:36:14 jason Exp $ */
/* $NetBSD: conf.c,v 1.17 2001/03/26 12:33:26 lukem Exp $ */
/*
@@ -97,6 +97,11 @@
#include "wsmouse.h"
#include "wsmux.h"
+#ifdef USER_PCICONF
+#include "pci.h"
+cdev_decl(pci);
+#endif
+
#include "rd.h"
#include "ses.h"
@@ -209,7 +214,11 @@ struct cdevsw cdevsw[] =
#else
cdev_notdef(), /* 51 */
#endif
+#ifdef USER_PCICONF
+ cdev_pci_init(NPCI,pci), /* 52: PCI user */
+#else
cdev_notdef(), /* 52 */
+#endif
cdev_notdef(), /* 53 */
cdev_disk_init(NFD,fd), /* 54: floppy disk */
cdev_notdef(), /* 55 */