]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r237101
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jun 2012 09:43:04 +0000 (09:43 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Jun 2012 09:43:04 +0000 (09:43 +0000)
commitf3d813bfdfb5c301ca3f4aac49c183ce2709afb8
tree51f428cec78b05890caf80d63f52f1ffc5326a80
parent72916cffceba3364024f0e4833f21738639ce1c3
MFC: r237101

Fix a braino in r236469 (MFC'ed to stable/8 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

git-svn-id: svn://svn.freebsd.org/base/stable/8@237187 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sym/sym_conf.h
sys/dev/sym/sym_hipd.c