]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Disabling a PCI device should only disable busmaster in the LinuxKPI.
authorhselasky <hselasky@FreeBSD.org>
Mon, 6 May 2019 16:17:38 +0000 (16:17 +0000)
committerhselasky <hselasky@FreeBSD.org>
Mon, 6 May 2019 16:17:38 +0000 (16:17 +0000)
commit6e5bade211398c61685ebd1fb5ed806235d43e80
tree8b878f201e0c51575b59854a03553a99cb6e8fe5
parentec094306821fb0c8c621e34bdbbebdbc36aa9ccb
Disabling a PCI device should only disable busmaster in the LinuxKPI.

As Linux comment for this function point:
Signal to the system that the PCI device is not in use by the system
anymore. This only involves disabling PCI bus-mastering, if active.

Build tested drm-current-kmod prior to commit.

MFC after: 1 week
Submitted by: slavash@
Sponsored by: Mellanox Technologies
sys/compat/linuxkpi/common/include/linux/pci.h