Page MenuHomeFreeBSD

linuxkpi: Add `dev_is_removable()`
ClosedPublic

Authored by dumbbell on Fri, Jan 31, 2:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 7:12 PM
Unknown Object (File)
Fri, Jan 31, 6:50 PM
Subscribers

Details

Summary

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.

This is part of the update of DRM drivers to Linux 6.7.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable