]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC 318136
authorsephe <sephe@FreeBSD.org>
Wed, 17 May 2017 01:48:44 +0000 (01:48 +0000)
committersephe <sephe@FreeBSD.org>
Wed, 17 May 2017 01:48:44 +0000 (01:48 +0000)
commit53eda0a5c93b875f1ecdaa975670376deca1d71b
treedffbbf1318bf96ec41f29938242dd7ffe13f1410
parent0b9fe27ab783a8348864ac75a6ca9377d2545186
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
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