HomeFreeBSD

Fix a braino in r236469; the number of DMA tags required for handling

Description

Fix a braino in r236469; the number of DMA tags required for handling
MAXPHYS should be based on PAGE_SIZE rather than SYM_CONF_DMA_BOUNDARY.
While at it, reuse the SYM_CONF_MAX_SG macro for specifying the maximum
number of DMA tags so sym(4) itself doesn't size memory beyond what's
required for handling MAXPHYS.

PR: 168928
MFC after: 3 days

Details

Provenance
mariusAuthored on Jun 14 2012, 8:49 PM
Parents
rGd2a3fae7ecbe: Merge r236137 from x86:
Branches
Unknown
Tags
Unknown

Event Timeline