From 68c77d9537ea0c71439a2b00ace24c72651b6407 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 9 Dec 2007 17:02:57 +0000 Subject: Add an empty pccbb_attach_hook. --- sys/arch/macppc/include/rbus_machdep.h | 5 ++++- sys/arch/macppc/macppc/rbus_machdep.c | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'sys/arch/macppc') 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) +{ +} -- cgit v1.2.3