summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/include/rbus_machdep.h5
-rw-r--r--sys/arch/macppc/macppc/rbus_machdep.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/macppc/include/rbus_machdep.h b/sys/arch/macppc/include/rbus_machdep.h
index 723ef45dfdd..69efb48cb08 100644
--- a/sys/arch/macppc/include/rbus_machdep.h
+++ b/sys/arch/macppc/include/rbus_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.h,v 1.2 2002/10/07 05:39:48 drahn Exp $ */
+/* $OpenBSD: rbus_machdep.h,v 1.3 2007/12/09 17:02:56 kettenis Exp $ */
/* $NetBSD: rbus_machdep.h,v 1.2 1999/10/15 06:43:05 haya Exp $ */
/*
@@ -61,4 +61,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_MACPPC_MACPPC_RBUS_MACHDEP_H_ */
diff --git a/sys/arch/macppc/macppc/rbus_machdep.c b/sys/arch/macppc/macppc/rbus_machdep.c
index 45b7a34889b..754b7e5f340 100644
--- a/sys/arch/macppc/macppc/rbus_machdep.c
+++ b/sys/arch/macppc/macppc/rbus_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.c,v 1.6 2004/03/23 03:25:46 drahn Exp $ */
+/* $OpenBSD: rbus_machdep.c,v 1.7 2007/12/09 17:02:56 kettenis Exp $ */
/* $NetBSD: rbus_machdep.c,v 1.2 1999/10/15 06:43:06 haya Exp $ */
/*
@@ -151,3 +151,9 @@ macppc_cardbus_init(pci_chipset_tag_t pc, pcitag_t tag)
pci_conf_write(pc, tag, 0x8c, x);
}
}
+
+void
+pccbb_attach_hook(struct device *parent, struct device *self,
+ struct pci_attach_args *pa)
+{
+}