svn commit: r342533 - head/sys/dev/mpr
Kashyap D Desai
kadesai at FreeBSD.org
Wed Dec 26 10:41:59 UTC 2018
Author: kadesai
Date: Wed Dec 26 10:41:53 2018
New Revision: 342533
URL: https://svnweb.freebsd.org/changeset/base/342533
Log:
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 at broadcom.com>
Reviewed by: Kashyap Desai <Kashyap.Desai at broadcom.com>
Approved by: ken
MFC after: 3 days
Sponsored by: Broadcom Inc
Modified:
head/sys/dev/mpr/mpr.c
Modified: head/sys/dev/mpr/mpr.c
==============================================================================
--- head/sys/dev/mpr/mpr.c Wed Dec 26 10:41:17 2018 (r342532)
+++ head/sys/dev/mpr/mpr.c Wed Dec 26 10:41:53 2018 (r342533)
@@ -624,8 +624,9 @@ mpr_iocfacts_allocate(struct mpr_softc *sc, uint8_t at
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);
More information about the svn-src-all
mailing list