Page MenuHomeFreeBSD

LinuxKPI: pci.h / linux_pci.c rename pci_driver field
ClosedPublic

Authored by bz on Oct 25 2021, 5:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 27, 1:43 AM
Unknown Object (File)
Sat, Jul 26, 2:00 PM
Unknown Object (File)
Jul 23 2025, 9:37 PM
Unknown Object (File)
Jul 22 2025, 10:51 AM
Unknown Object (File)
Jul 12 2025, 10:21 PM
Unknown Object (File)
Jul 12 2025, 11:25 AM
Unknown Object (File)
Jul 7 2025, 6:50 AM
Unknown Object (File)
Jun 30 2025, 5:09 PM

Details

Summary

Rename the struct pci_driver {} field got the list_head from links
to node as a driver is actually initialsing this to {} which seems
questionable but it will at least make us match the Linux structure
field name.

According to my investigations this field is not used anywhere outside
our implementation so I consider this MFC-able.

MFC after: 3 days

Diff Detail

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

Event Timeline

bz requested review of this revision.Oct 25 2021, 5:20 PM

I cannot find a "graphics" or "drm" review group; do we have one? The main concern here is not to break drm binary drivers shipped in binary packages when MFCing.

This revision is now accepted and ready to land.Oct 25 2021, 5:30 PM
manu added a subscriber: manu.

We do not seems to use this in drm.

In D32645#736890, @manu wrote:

We do not seems to use this in drm.

Thanks a lot for confirming so quickly.