Page MenuHomeFreeBSD

rge: Fix 32-bit powerpc build
ClosedPublic

Authored by jhibbits on Jun 24 2026, 2:16 AM.
Tags
None
Referenced Files
F174532688: D57794.diff
Sat, Oct 3, 11:47 PM
F174469164: D57794.diff
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
Unknown Object (File)
Sat, Sep 26, 4:49 AM
Unknown Object (File)
Sat, Sep 26, 12:22 AM
Unknown Object (File)
Thu, Sep 10, 7:49 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 Not Applicable
Unit
Tests Not Applicable