HomeFreeBSD

cgem: update 64-bit check

Description

cgem: update 64-bit check

The cgem(4) driver was updated to support 64-bit bus addressing in
facdd1cd2045. However, the committed version determines this in an
un-idiomatic way. Change the compile-time conditional to check
BUS_SPACE_MAXADDR, rather than comparing int and pointer sizes.

Reported by: jrtc27

Details

Provenance
mhorneAuthored on Jan 11 2021, 12:30 AM
Parents
rG30b68ecda84e: Changes that improve DTrace FBT reliability on freebsd/arm64:
Branches
Unknown
Tags
Unknown