Page MenuHomeFreeBSD

net/wifi-firmware: update mt76 to 20250509, add mt7615 support
AcceptedPublic

Authored by bz on May 12 2025, 10:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 19, 3:07 PM
Unknown Object (File)
Mon, May 19, 1:36 AM
Subscribers
None

Details

Reviewers
jrm
lwhsu
Group Reviewers
Ports Committers
Summary

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 64098
Build 60982: arc lint + arc unit

Event Timeline

bz requested review of this revision.May 12 2025, 10:37 AM
bz created this revision.
This revision is now accepted and ready to land.May 13 2025, 2:14 AM
jrm added inline comments.
net/wifi-firmware-mt76-kmod/Makefile
5

Since you're updating FWDRV_VERSION / PORTVERSION and net/wifi-firmware-kmod/Makefile.inc has PORTREVISION?=2. This means the package will be wifi-firmware-mt76-kmod-mt7615-<new version>_2.

https://docs.freebsd.org/en/books/porters-handbook/book/#makefile-portrevision

PORTREVISION is a monotonically increasing value which is reset to 0 with every increase of DISTVERSION, typically every time there is a new official vendor release.

(It only says DISTVERSION, but the same applies for PORTVERSION.)

You could set PORTREVISION=0 here, but then all the other firmware packages will have a PORTREVSION of 2 except this one.

This shouldn't be a showstopper, but maybe in the future it would be best to set PORTREVISION in each port rather than in net/wifi-firmware-kmod/Makefile.inc.