x86: rework support for Mellanox Spectrum Switches #15362
+18
−74
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These commits adjust the Mellanox Spectrum support added with 76713f4.
48cc0eb:
I only added the firmware files for the Mellanox Spectrum (SN2000 Series) back then. This commit also adds the Spectrum-2, Spectrum-3, and Spectrum-4 firmware files.
b2f90d5:
I forgot to add the x86 dependency for the LED driver back then. This commit adds the missing dependency.
aca4142:
I have noticed that only the
mlxsw_spectrum
driver uses themlxsw_core
,mlxsw_i2c
,mlxsw_pci
, andmlxsw_minimal
drivers as dependencies. This commit moves those dependencies into themlxsw_spectrum
module and removes the separate packages.Years ago,
mlxsw_switchx2
andmlxsw_switchib
also used those dependencies, but they were removed from the kernel due to EOL.