Page MenuHomeFreeBSD

rge: Fix 32-bit powerpc build
ClosedPublic

Authored by jhibbits on Jun 24 2026, 2:16 AM.
Tags
None
Referenced Files
F174811812: D57794.diff
Tue, Oct 6, 3:49 AM
Unknown Object (File)
Mon, Oct 5, 1:31 PM
Unknown Object (File)
Mon, Oct 5, 11:21 AM
Unknown Object (File)
Mon, Oct 5, 10:06 AM
Unknown Object (File)
Sun, Oct 4, 2:21 PM
Unknown Object (File)
Sun, Oct 4, 9:45 AM
Unknown Object (File)
Sun, Oct 4, 8:50 AM
Unknown Object (File)
Sat, Oct 3, 11:47 PM
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