summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-12-09 16:53:37 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-12-09 16:53:37 +0000
commitf65571a4ddf16cdac98d678eefbee6232f7e7fb3 (patch)
tree25e41c0e92db64cbd4648bb0a35aea4f0a12658b /sys/arch/i386
parent104462357a853cdabf7a3a569246825fcbef02aa (diff)
Add an empty pccbb_attach_hook.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/rbus_machdep.c8
-rw-r--r--sys/arch/i386/include/rbus_machdep.h5
2 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/rbus_machdep.c b/sys/arch/i386/i386/rbus_machdep.c
index cda112998f8..13c27e701ef 100644
--- a/sys/arch/i386/i386/rbus_machdep.c
+++ b/sys/arch/i386/i386/rbus_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.c,v 1.20 2007/09/12 13:56:40 chl Exp $ */
+/* $OpenBSD: rbus_machdep.c,v 1.21 2007/12/09 16:53:36 kettenis Exp $ */
/* $NetBSD: rbus_machdep.c,v 1.2 1999/10/15 06:43:06 haya Exp $ */
/*
@@ -127,3 +127,9 @@ rbus_pccbb_parent_io(struct device *self, struct pci_attach_args *pa)
return rbus_new_root_share(pa->pa_iot, ex, start, size, 0);
}
+
+void
+pccbb_attach_hook(struct device *parent, struct device *self,
+ struct pci_attach_args *pa)
+{
+}
diff --git a/sys/arch/i386/include/rbus_machdep.h b/sys/arch/i386/include/rbus_machdep.h
index cc214020061..a8cd02ae912 100644
--- a/sys/arch/i386/include/rbus_machdep.h
+++ b/sys/arch/i386/include/rbus_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.h,v 1.4 2004/05/04 17:06:33 grange Exp $ */
+/* $OpenBSD: rbus_machdep.h,v 1.5 2007/12/09 16:53:36 kettenis Exp $ */
/* $NetBSD: rbus_machdep.h,v 1.2 1999/10/15 06:43:05 haya Exp $ */
/*
@@ -49,4 +49,7 @@ rbus_tag_t rbus_pccbb_parent_io(struct device *self,
rbus_tag_t rbus_pccbb_parent_mem(struct device *self,
struct pci_attach_args *pa);
+void pccbb_attach_hook(struct device *, struct device *,
+ struct pci_attach_args *);
+
#endif /* _ARCH_I386_I386_RBUS_MACHDEP_H_ */