diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-12-09 17:02:57 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2007-12-09 17:02:57 +0000 |
commit | 68c77d9537ea0c71439a2b00ace24c72651b6407 (patch) | |
tree | be9f2069f9bbba4390bf936208552b3ad862f722 /sys/arch/macppc | |
parent | f65571a4ddf16cdac98d678eefbee6232f7e7fb3 (diff) |
Add an empty pccbb_attach_hook.
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r-- | sys/arch/macppc/include/rbus_machdep.h | 5 | ||||
-rw-r--r-- | sys/arch/macppc/macppc/rbus_machdep.c | 8 |
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) +{ +} |