]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a specialized function for DRM drivers to register themselves.
authormarkj <markj@FreeBSD.org>
Fri, 11 Aug 2017 03:59:48 +0000 (03:59 +0000)
committermarkj <markj@FreeBSD.org>
Fri, 11 Aug 2017 03:59:48 +0000 (03:59 +0000)
commit5c221064ba549e195663a6d9b809e4ee0b6fedd6
tree38b5c6f125c96e16b6f8bc82e690bb5ccd7b03a9
parent865cb1c60bbcf3b17057f13b69b51ca27672b9ef
Add a specialized function for DRM drivers to register themselves.

Such drivers attach to a vgapci bus rather than directly to a pci bus. For
the rest of the LinuxKPI to work correctly in this case, we override the
vgapci bus' ivars with those of the grandparent.

Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D11932
sys/compat/linuxkpi/common/include/linux/pci.h
sys/compat/linuxkpi/common/src/linux_pci.c