Page MenuHomeFreeBSD

if_awg: Add missing awg_poll() prototype
ClosedPublic

Authored by ivy on Apr 26 2026, 10:44 PM.
Tags
None
Referenced Files
F159861842: D56651.diff
Thu, Jun 18, 9:51 PM
Unknown Object (File)
Fri, Jun 5, 9:37 PM
Unknown Object (File)
Fri, Jun 5, 5:32 AM
Unknown Object (File)
Thu, Jun 4, 6:22 PM
Unknown Object (File)
Thu, Jun 4, 1:40 AM
Unknown Object (File)
Tue, May 26, 8:07 AM
Unknown Object (File)
Tue, May 26, 8:02 AM
Unknown Object (File)
Sun, May 24, 5:37 AM
Subscribers

Details

Summary

The function awg_poll() was missing a prototype, which causes the build
to fail if DEVICE_POLLING is enabled, which it is in the ARMADAXP config.

MFC after: 2 weeks
Sponsored by: https://www.patreon.com/bsdivy

Diff Detail

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

Event Timeline

ivy requested review of this revision.Apr 26 2026, 10:44 PM
This revision is now accepted and ready to land.Apr 26 2026, 10:55 PM

I wonder if anybody have actually tested that old mode on this relatively new driver. I wonder if anybody in the world runs with the device polling today at all.

since ARMADAXP is a Marvell SoC and if_awg is an Allwinner IC, it's quite possible this combination has never been used by anyone. but, this does currently break the build, and this fix is simpler than either removing DEVICE_POLLING from ARMADAXP or removing polling support from awg.

This revision was automatically updated to reflect the committed changes.