Date: Fri, 18 Nov 2016 06:24:22 +0000 (UTC) From: Dexuan Cui <dexuan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r308794 - in head/sys/dev/hyperv: pcib vmbus Message-ID: <201611180624.uAI6OMln034623@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dexuan Date: Fri Nov 18 06:24:22 2016 New Revision: 308794 URL: https://svnweb.freebsd.org/changeset/base/308794 Log: hyperv/vmbus,pcib: Add MODULE_DEPEND on pci We'd better add this dependency explicitly, though usually the pci driver is built into the kernel by default. Reviewed by: sephe Approved by: sephe (mentor) MFC after: 1 week Sponsored by: Microsoft Modified: head/sys/dev/hyperv/pcib/pcib.c head/sys/dev/hyperv/vmbus/vmbus.c Modified: head/sys/dev/hyperv/pcib/pcib.c ============================================================================== --- head/sys/dev/hyperv/pcib/pcib.c Fri Nov 18 05:33:01 2016 (r308793) +++ head/sys/dev/hyperv/pcib/pcib.c Fri Nov 18 06:24:22 2016 (r308794) @@ -1788,3 +1788,4 @@ DEFINE_CLASS_0(pcib, vmbus_pcib_driver, sizeof(struct vmbus_pcib_softc)); DRIVER_MODULE(vmbus_pcib, vmbus, vmbus_pcib_driver, pcib_devclass, 0, 0); MODULE_DEPEND(vmbus_pcib, vmbus, 1, 1, 1); +MODULE_DEPEND(vmbus_pcib, pci, 1, 1, 1); Modified: head/sys/dev/hyperv/vmbus/vmbus.c ============================================================================== --- head/sys/dev/hyperv/vmbus/vmbus.c Fri Nov 18 05:33:01 2016 (r308793) +++ head/sys/dev/hyperv/vmbus/vmbus.c Fri Nov 18 06:24:22 2016 (r308794) @@ -186,6 +186,7 @@ static devclass_t vmbus_devclass; DRIVER_MODULE(vmbus, acpi, vmbus_driver, vmbus_devclass, NULL, NULL); MODULE_DEPEND(vmbus, acpi, 1, 1, 1); +MODULE_DEPEND(vmbus, pci, 1, 1, 1); MODULE_VERSION(vmbus, 1); static __inline struct vmbus_softc *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611180624.uAI6OMln034623>