From 79cd455edb6b302466e51e45e493bab5d0dcf023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Date: Mon, 16 Jun 2014 08:49:16 +0000 Subject: [PATCH] isa: allow ISA bus to attach to xenpv bus This is needed because syscons depends on ISA. Sponsored by: Citrix Systems R&D Approved by: gibbs x86/isa/isa.c: - Allow the ISA bus to attach to xenpv. --- sys/x86/isa/isa.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/x86/isa/isa.c b/sys/x86/isa/isa.c index 1a5713731836..605af59259a5 100644 --- a/sys/x86/isa/isa.c +++ b/sys/x86/isa/isa.c @@ -241,3 +241,8 @@ isa_release_resource(device_t bus, device_t child, int type, int rid, * On this platform, isa can also attach to the legacy bus. */ DRIVER_MODULE(isa, legacy, isa_driver, isa_devclass, 0, 0); + +/* + * Attach the ISA bus to the xenpv bus in order to get syscons. + */ +DRIVER_MODULE(isa, xenpv, isa_driver, isa_devclass, 0, 0);