HomeFreeBSD

Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it.

Description

Introduce a RMAN_IS_DEFAULT_RANGE() macro, and use it.

This simplifies checking for default resource range for bus_alloc_resource(),
and improves readability.

This is part of, and related to, the migration of rman_res_t from u_long to
uintmax_t.

Discussed with: jhb
Suggested by: marcel

Details

Provenance
jhibbitsAuthored on
Parents
rS295831: ixl(4)/ixlv(4): Revert m_collapse() in ixl_xmit() to m_defrag().
Branches
Unknown
Tags
Unknown