Fix the media type of AQC100 ethernet controller in the driver
Subsystems (3)
PATCH 1/1 Fix the media type of AQC100 ethernet controller in the driver
The Aquantia AQC100 controller enables a SFP+ port, so the driver should configure the media type as '_TYPE_FIBRE' instead of '_TYPE_TP'.
Signed-off-by Richard Clark <[email protected]>
Cc Igor Russkikh <[email protected]>
Cc "David S. Miller" <[email protected]>
--- drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/aquantia/atlantic/aq_pci_func.c +1 -1
@@ -57,7 +57,7 @@ static const struct aq_board_revision_s hw_atl_boards[] = { { AQ_DEVICE_ID_D108, AQ_HWREV_2, &hw_atl_ops_b0, &hw_atl_b0_caps_aqc108, }, { AQ_DEVICE_ID_D109, AQ_HWREV_2, &hw_atl_ops_b0, &hw_atl_b0_caps_aqc109, }, - { AQ_DEVICE_ID_AQC100, AQ_HWREV_ANY, &hw_atl_ops_b1, &hw_atl_b0_caps_aqc107, }, + { AQ_DEVICE_ID_AQC100, AQ_HWREV_ANY, &hw_atl_ops_b1, &hw_atl_b0_caps_aqc100, }, { AQ_DEVICE_ID_AQC107, AQ_HWREV_ANY, &hw_atl_ops_b1, &hw_atl_b0_caps_aqc107, }, { AQ_DEVICE_ID_AQC108, AQ_HWREV_ANY, &hw_atl_ops_b1, &hw_atl_b0_caps_aqc108, }, { AQ_DEVICE_ID_AQC109, AQ_HWREV_ANY, &hw_atl_ops_b1, &hw_atl_b0_caps_aqc109, },
Signature · 1 line
2.17.1
Quoted 7 lines
The Aquantia AQC100 controller enables a SFP+ port, so the driver should configure the media type as '
_TYPE_FIBRE' instead of '_TYPE_TP'.Signed-off-by Richard Clark <[email protected]>Cc Igor Russkikh <[email protected]>Cc "David S. Miller" <[email protected]>
Acked-by Igor Russkikh <[email protected]>
Thanks, Richard, looks like that was a typo.
Regards,
Igor