mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Enable atomic type descriptor support only for Sea & Aero cards
Enable atomic type descriptor support only for Sea & Aero cards, due to HW errata this atomic descriptor support has to be disabled on Ventura cards. Submitted by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Reviewed by: Kashyap Desai <Kashyap.Desai@broadcom.com> Approved by: ken MFC after: 3 days Sponsored by: Broadcom Inc
This commit is contained in:
parent
f36649b71c
commit
34c5490d26
1 changed files with 3 additions and 2 deletions
|
|
@ -624,8 +624,9 @@ mpr_iocfacts_allocate(struct mpr_softc *sc, uint8_t attaching)
|
|||
sc->eedp_enabled = TRUE;
|
||||
if (sc->facts->IOCCapabilities & MPI2_IOCFACTS_CAPABILITY_TLR)
|
||||
sc->control_TLR = TRUE;
|
||||
if (sc->facts->IOCCapabilities &
|
||||
MPI26_IOCFACTS_CAPABILITY_ATOMIC_REQ)
|
||||
if ((sc->facts->IOCCapabilities &
|
||||
MPI26_IOCFACTS_CAPABILITY_ATOMIC_REQ) &&
|
||||
(sc->mpr_flags & MPR_FLAGS_SEA_IOC))
|
||||
sc->atomic_desc_capable = TRUE;
|
||||
|
||||
mpr_resize_queues(sc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue