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)
Thu, Oct 9, 4:43 AM
Unknown Object (File)
Tue, Oct 7, 6:27 AM
Unknown Object (File)
Sat, Sep 20, 5:13 PM
Unknown Object (File)
Sep 2 2025, 3:06 PM
Unknown Object (File)
Jul 27 2025, 1:43 AM
Unknown Object (File)
Jul 26 2025, 2:00 PM
Unknown Object (File)
Jul 23 2025, 9:37 PM
Unknown Object (File)
Jul 22 2025, 10:51 AM

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.