CVSROOT:        /cvs
Module name:    src
Changes by:     mi...@cvs.openbsd.org   2012/09/07 13:10:39

Modified files:
        sys/dev/pci    : mpii.c 

Log message:
Fixup a memory access fault on an invalid reply.  Quoting the spec:

The host driver must ensure that there is at least one
unused entry in the Reply Free Queue. One way to ensure
that this requirement is met is to never allocate a number
of reply frames that is a multiple of 16.

So bring back the old logic of calculating the RFQ depth and add a
comment explaining why is it done.  Duh!

Reply via email to