summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2007-12-20 13:34:49 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2007-12-20 13:34:49 +0000
commita408915fcec379292b3179596e70ffbf96d39c91 (patch)
treecf235a608e015038a9efcbb507f5aa984ab91749 /sys/arch/amd64
parent705dc2ea4bd70d0c67a8c8754e7f51d9f5bacf9c (diff)
Add an empty pccbb_attach_hook.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/rbus_machdep.c8
-rw-r--r--sys/arch/amd64/include/rbus_machdep.h5
2 files changed, 11 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/rbus_machdep.c b/sys/arch/amd64/amd64/rbus_machdep.c
index f147fda676c..0e2ce763bc5 100644
--- a/sys/arch/amd64/amd64/rbus_machdep.c
+++ b/sys/arch/amd64/amd64/rbus_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.c,v 1.5 2007/10/28 10:25:09 martin Exp $ */
+/* $OpenBSD: rbus_machdep.c,v 1.6 2007/12/20 13:34:48 kettenis Exp $ */
/* $NetBSD: rbus_machdep.c,v 1.2 1999/10/15 06:43:06 haya Exp $ */
/*
@@ -126,3 +126,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/amd64/include/rbus_machdep.h b/sys/arch/amd64/include/rbus_machdep.h
index 18a60e13e39..0ab405f539c 100644
--- a/sys/arch/amd64/include/rbus_machdep.h
+++ b/sys/arch/amd64/include/rbus_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rbus_machdep.h,v 1.2 2007/11/16 16:16:07 deraadt Exp $ */
+/* $OpenBSD: rbus_machdep.h,v 1.3 2007/12/20 13:34:48 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_AMD64_AMD64_RBUS_MACHDEP_H_ */