diff options
| author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-21 19:57:40 +0000 |
|---|---|---|
| committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2016-04-21 19:57:40 +0000 |
| commit | d9c9c81c083a76a65c6cacf8fcbc0511e2ffa489 (patch) | |
| tree | cd4dfa8859a5f57124d315ff395b524d7587e1ea /sys/dev/mps | |
| parent | 5977d3e898348ce714243a4189cee906151aa522 (diff) | |
Notes
Diffstat (limited to 'sys/dev/mps')
| -rw-r--r-- | sys/dev/mps/mps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mps/mps.c b/sys/dev/mps/mps.c index 5f183416e5ea..ce24eed1eaa2 100644 --- a/sys/dev/mps/mps.c +++ b/sys/dev/mps/mps.c @@ -1080,8 +1080,8 @@ mps_alloc_queues(struct mps_softc *sc) * * These two queues are allocated together for simplicity. */ - sc->fqdepth = roundup2((sc->num_replies + 1), 16); - sc->pqdepth = roundup2((sc->num_replies + 1), 16); + sc->fqdepth = roundup2(sc->num_replies + 1, 16); + sc->pqdepth = roundup2(sc->num_replies + 1, 16); fqsize= sc->fqdepth * 4; pqsize = sc->pqdepth * 8; qsize = fqsize + pqsize; |
