Page MenuHomeFreeBSD

rge: Fix 32-bit powerpc build
ClosedPublic

Authored by jhibbits on Jun 24 2026, 2:16 AM.
Tags
None
Referenced Files
F174601226: D57794.diff
Sun, Oct 4, 2:21 PM
F174582250: D57794.id.diff
Sun, Oct 4, 9:45 AM
F174578562: D57794.id180488.diff
Sun, Oct 4, 8:50 AM
Unknown Object (File)
Sat, Oct 3, 11:47 PM
Unknown Object (File)
Sat, Oct 3, 12:11 PM
Unknown Object (File)
Thu, Oct 1, 4:42 PM
Unknown Object (File)
Tue, Sep 29, 7:21 AM
Unknown Object (File)
Tue, Sep 29, 7:11 AM
Subscribers

Details

Summary

Book-E powerpc has 64-bit bus_addr_t but only a 32-bit bus_size_t. Use
the right macros for maxsize and maxsegsize to fix the build.
Fixes: 4bf8ce037 ("if_rge: initial import of if_rge driver from OpenBSD.")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 74174
Build 71057: arc lint + arc unit