HomeFreeBSD

mpt(4): Remove incorrect S/G segments limits.

Description

mpt(4): Remove incorrect S/G segments limits.

First, two of those four checks are unreachable.
Second, I don't believe there should be ">=" instead of ">".
Third, bus_dma(9) already returns the same EFBIG if ">".

This fixes false I/O errors in worst S/G cases with maxphys >= 2MB.

MFC after: 1 week

Details

Provenance
mavAuthored on Apr 17 2021, 2:41 PM
Parents
rGb51f459a2098: wpa: Import wpa_supplicant/hostapd commit f91680c15
Branches
Unknown
Tags
Unknown