]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r319872, r321063, r321582, r322034, r322425, r322962, r322985,
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Oct 2019 23:27:02 +0000 (23:27 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 10 Oct 2019 23:27:02 +0000 (23:27 +0000)
commitef146185542088d0b49934f0278a62d770c28351
tree6821dd61bca641fae8358579a9d2f0ddcfa2d977
parentad5bff88cbf9fdd4bf7da13098ff0d990310d641
MFC r319872, r321063, r321582, r322034, r322425, r322962, r322985,
r325596, r326026, r328420, r331472, r333276, r333650, r333652, r334406,
r334409-r334410, r334489, r336042, r340651, r342603, and r345083.

This updates the cxgbe firmwares in stable/10 and also pulls in support
for some newer boards and flash parts.

r319872:
cxgbe(4):  Do not request an FEC setting that the port does not support.

r321063:
cxgbe(4): Various link/media related improvements.

r321582:
cxgbe(4): Some updates to the common code.

r322034:
cxgbe(4): Always use the first and not the last virtual interface
associated with a port in begin_synchronized_op.

r322425:
cxgbe(4): Save the last reported link parameters and compare them with
the current state to determine whether to generate a link-state change
notification.  This fixes a bug introduced in r321063 that caused the
driver to sometimes skip these notifications.

r322962:
cxgbe(4): Remove write only variable from t4_port_init.

r322985:
cxgbe(4): Maintain one ifmedia per physical port instead of one per
Virtual Interface (VI).  All autonomous VIs that share a port share the
same media.

r325596:
cxgbe(4): Do not request settings not supported by the port.

r326026:
cxgbe(4): Add a custom board to the device id list.

r328420:
cxgbe(4): Do not display harmless warning in non-debug builds.

r331472:
cxgbe(4): Always initialize requested_speed to a valid value.

This fixes an avoidable EINVAL when the user tries to disable AN after
the port is initialized but l1cfg doesn't have a valid speed to use.

r333276:
cxgbe(4): Update all firmwares to 1.19.1.0.

r333650:
cxgbe(4): Claim some more T5 and T6 boards.

r333652:
cxgbe(4): Add support for two more flash parts.

r334406:
cxgbe(4): Consider all supported speeds when building the ifmedia list
for a port.  Fix other related issues while here:
- Require port lock for access to link_config.
- Allow 100Mbps operation by tracking the speed in Mbps.  Yes, really.
- New port flag to indicate that the media list is immutable.  It will
  be used in future refinements.

This also fixes a bug where the driver reports incorrect media with
recent firmwares.

r334409:
cxgbe(4): Implement ifm_change callback.

r334410:
cxgbe(4): Use ifm for ifmedia just like the rest of the kernel.

No functional change.

r334489:
cxgbe(4): Include full duplex mediaopt in media that can be reported as
active.  Always report full duplex in active media.

r336042:
cxgbe(4): Assume that any unknown flash on the card is 4MB and has 64KB
sectors, instead of refusing to attach to the card.

r340651:
cxgbe(4): Update T4/5/6 firmwares to 1.22.0.3.

r342603:
cxgbe(4): Attach to two T540 variants.

r345083:
cxgbe(4): Update T4/5/6 firmwares to 1.23.0.0.

git-svn-id: svn://svn.freebsd.org/base/stable/10@353418 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
18 files changed:
sys/conf/files
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/common/common.h
sys/dev/cxgbe/common/t4_hw.c
sys/dev/cxgbe/firmware/t4fw-1.16.63.0.bin.uu [deleted file]
sys/dev/cxgbe/firmware/t4fw-1.23.0.0.bin.uu [new file with mode: 0644]
sys/dev/cxgbe/firmware/t4fw_interface.h
sys/dev/cxgbe/firmware/t5fw-1.16.63.0.bin.uu [deleted file]
sys/dev/cxgbe/firmware/t5fw-1.23.0.0.bin.uu [new file with mode: 0644]
sys/dev/cxgbe/firmware/t5fw_cfg_uwire.txt
sys/dev/cxgbe/firmware/t6fw-1.16.63.0.bin.uu [deleted file]
sys/dev/cxgbe/firmware/t6fw-1.23.0.0.bin.uu [new file with mode: 0644]
sys/dev/cxgbe/firmware/t6fw_cfg_uwire.txt
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_sge.c
sys/modules/cxgbe/t4_firmware/Makefile
sys/modules/cxgbe/t5_firmware/Makefile
sys/modules/cxgbe/t6_firmware/Makefile