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)
Sat, Jul 25, 1:30 AM
Unknown Object (File)
Fri, Jul 24, 5:15 PM
Unknown Object (File)
Fri, Jul 24, 2:31 PM
Unknown Object (File)
Wed, Jul 22, 1:39 PM
Unknown Object (File)
Tue, Jul 21, 7:50 PM
Unknown Object (File)
Sun, Jul 19, 9:57 PM
Unknown Object (File)
May 7 2026, 1:57 PM
Unknown Object (File)
May 4 2026, 2:00 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.