HomeFreeBSD

linuxkpi: Add `dev_is_removable()`

Description

linuxkpi: Add dev_is_removable()

[Why]
This is used by the amdgpy DRM driver starting from Linux 6.7.

[How]
The function always returns false, like pci_is_thunderbolt_attached()
because we don't have an API for this in FreeBSD yet.

Reviewed by: manu
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48758

Details

Provenance
dumbbellAuthored on Jan 1 2025, 2:39 PM
Reviewer
manu
Differential Revision
D48758: linuxkpi: Add `dev_is_removable()`
Parents
rGe3cf2321b084: linuxkpi: Add `get_file_active()`
Branches
Unknown
Tags
Unknown