freebsd-nq/sys/dev/pci
Konstantin Belousov 94f5c1cc71 pci_iov: When pci_iov_detach(9) is called, destroy VF children
instead of bailing out with EBUSY if there are any.

If driver module is unloaded, or just device is forcibly detached from
the driver, there is no way for driver to correctly unload otherwise.
Esp. if there are resources dedicated to the VFs which prevent turning
down other resources.

Reviewed by:	jhb
Sponsored by:	Mellanox Technologies / NVidia Networking
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D27615
2020-12-18 03:46:50 +00:00
..
controller
fixup_pci.c
hostb_pci.c
ignore_pci.c
isa_pci.c
pci_dw_if.m
pci_dw_mv.c
pci_dw.c
pci_dw.h
pci_host_generic_acpi.c
pci_host_generic_acpi.h
pci_host_generic_fdt.c
pci_host_generic_fdt.h
pci_host_generic.c
pci_host_generic.h
pci_if.m
pci_iov_if.m
pci_iov_private.h
pci_iov_schema.c
pci_iov.c pci_iov: When pci_iov_detach(9) is called, destroy VF children 2020-12-18 03:46:50 +00:00
pci_iov.h
pci_pci.c
pci_private.h
pci_subr.c
pci_user.c
pci.c
pcib_if.m
pcib_private.h
pcib_support.c
pcireg.h
pcivar.h
schema_private.h
vga_pci.c