]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 318136
authorsephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 May 2017 02:40:06 +0000 (02:40 +0000)
committersephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 17 May 2017 02:40:06 +0000 (02:40 +0000)
commit2d7393012debaf4d249e18a3fa45a3187c68a25d
treed60701a9f53b88cf1719952c7c8c6d6c7ec55759
parentccbe569087a258a49bf3f4c3f26e79560c595dbb
MFC 318136

    hyperv/vmbus: Reorganize vmbus device tree

    For GEN1 Hyper-V, vmbus is attached to pcib0, which contains the
    resources for PCI passthrough and SR-IOV.  There is no
    acpi_syscontainer0 on GEN1 Hyper-V.

    For GEN2 Hyper-V, vmbus is attached to acpi_syscontainer0, which
    contains the resources for PCI passthrough and SR-IOV.  There is
    no pcib0 on GEN2 Hyper-V.

    The ACPI VMBUS device now only holds its _CRS, which is empty as
    of this commit; its existence is mainly for upward compatibility.

    Device tree structure is suggested by jhb@.

    Tested-by: dexuan@
    Collabrated-wth: dexuan@
    Sponsored by: Microsoft
    Differential Revision: https://reviews.freebsd.org/D10565

git-svn-id: svn://svn.freebsd.org/base/stable/10@318393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/files
sys/conf/files.amd64
sys/conf/files.i386
sys/dev/acpica/acpi_container.c [new file with mode: 0644]
sys/dev/acpica/acpi_pcib_acpi.c
sys/dev/hyperv/vmbus/vmbus.c
sys/dev/hyperv/vmbus/vmbus_res.c [new file with mode: 0644]
sys/modules/hyperv/vmbus/Makefile