summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/timer/timer.c
diff options
context:
space:
mode:
authorroyger <royger@FreeBSD.org>2014-06-16 08:44:33 +0000
committerroyger <royger@FreeBSD.org>2014-06-16 08:44:33 +0000
commite67dcf09df037cf65eaa533abd6e93fc2053efef (patch)
tree8974ba75a14079f9221ddb483e5138882514c8ec /sys/dev/xen/timer/timer.c
parenta2b989a585f564dca417eafe10f0bcf2b6a32a3a (diff)
downloadFreeBSD-src-e67dcf09df037cf65eaa533abd6e93fc2053efef.zip
FreeBSD-src-e67dcf09df037cf65eaa533abd6e93fc2053efef.tar.gz
xen: introduce xenpv bus
Create a dummy bus so top level Xen devices can attach to it (instead of attaching directly to the nexus). This allows to have all the Xen related devices grouped under a single bus. Sponsored by: Citrix Systems R&D Approved by: gibbs x86/xen/xenpv.c: - Attach the xenpv bus when running as a Xen guest. - Attach the ISA bus if needed, in order to attach syscons. conf/files.amd6: conf/files.i386: - Include the xenpv.c file in the build of i386/amd64 kernels using XENHVM. dev/xen/console/console.c: dev/xen/timer/timer.c: xen/xenstore/xenstore.c: - Attach to the xenpv bus instead of the Nexus. dev/xen/xenpci/xenpci.c: - Xen specific devices on PVHVM guests are no longer attached to the xenpci device, they are instead attached to the xenpv bus, remove the now unused methods.
Diffstat (limited to 'sys/dev/xen/timer/timer.c')
-rw-r--r--sys/dev/xen/timer/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xen/timer/timer.c b/sys/dev/xen/timer/timer.c
index ed611d0..5743076 100644
--- a/sys/dev/xen/timer/timer.c
+++ b/sys/dev/xen/timer/timer.c
@@ -645,5 +645,5 @@ static driver_t xentimer_driver = {
sizeof(struct xentimer_softc),
};
-DRIVER_MODULE(xentimer, nexus, xentimer_driver, xentimer_devclass, 0, 0);
-MODULE_DEPEND(xentimer, nexus, 1, 1, 1);
+DRIVER_MODULE(xentimer, xenpv, xentimer_driver, xentimer_devclass, 0, 0);
+MODULE_DEPEND(xentimer, xenpv, 1, 1, 1);
OpenPOWER on IntegriCloud