aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xen/xenstore/xenstore.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/xen/xenstore/xenstore.c')
-rw-r--r--sys/dev/xen/xenstore/xenstore.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/sys/dev/xen/xenstore/xenstore.c b/sys/dev/xen/xenstore/xenstore.c
index 811aa1859d41..e5187466f1fe 100644
--- a/sys/dev/xen/xenstore/xenstore.c
+++ b/sys/dev/xen/xenstore/xenstore.c
@@ -45,10 +45,9 @@
#include <sys/uio.h>
#include <sys/unistd.h>
#include <sys/queue.h>
+#include <sys/stdarg.h>
#include <sys/taskqueue.h>
-#include <machine/stdarg.h>
-
#include <xen/xen-os.h>
#include <xen/hypervisor.h>
#include <xen/xen_intr.h>
@@ -1068,8 +1067,8 @@ static void
xs_attach_deferred(void *arg)
{
- bus_generic_probe(xs.xs_dev);
- bus_generic_attach(xs.xs_dev);
+ bus_identify_children(xs.xs_dev);
+ bus_attach_children(xs.xs_dev);
config_intrhook_disestablish(&xs.xs_attachcb);
}
@@ -1079,8 +1078,8 @@ xs_attach_late(void *arg, int pending)
{
KASSERT((pending == 1), ("xs late attach queued several times"));
- bus_generic_probe(xs.xs_dev);
- bus_generic_attach(xs.xs_dev);
+ bus_identify_children(xs.xs_dev);
+ bus_attach_children(xs.xs_dev);
}
/**