Page MenuHomeFreeBSD

linuxkpi: Add `dev_is_removable()`
ClosedPublic

Authored by dumbbell on Fri, Jan 31, 2:25 PM.

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