CVSROOT:        /cvs
Module name:    src
Changes by:     jmatt...@cvs.openbsd.org        2018/03/15 23:12:37

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

Log message:
Improve calculation of the number of commands and sges available.
The maximum number of commands may be specified in outbound scratch register
3, should be limited to 1024, and should further be reduced by one to ensure
the reply queue doesn't overflow.

The maximum number of sges in a command should be the highest power of two
that fits in the space available in the io frame and in a chained sge frame.
The maximum size of a chained frame is specified in outbound scratch
register 2.

part of a diff from Naoki Fukaumi
ok dlg@

Reply via email to