mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Add broadcom tg3 support 100M/10M feature.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
diff -Naur a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c
|
||||
--- a/drivers/net/ethernet/broadcom/tg3.c 2019-03-27 13:13:56.000000000 +0800
|
||||
+++ b/drivers/net/ethernet/broadcom/tg3.c 2019-04-26 11:08:20.307848693 +0800
|
||||
@@ -11734,6 +11734,12 @@
|
||||
pci_set_power_state(tp->pdev, PCI_D3hot);
|
||||
}
|
||||
|
||||
+ if (tg3_asic_rev(tp) == ASIC_REV_5720){
|
||||
+ /*Fixed ASIC_REV_5720 support 100M/10M feature */
|
||||
+ __tg3_writephy(tp, 0x8, 0x10, 0x1d0);
|
||||
+ __tg3_writephy(tp, 0x1f, 0x4, 0x5e1);
|
||||
+ }
|
||||
+
|
||||
return err;
|
||||
}
|
||||
|
||||
@@ -3,4 +3,5 @@ drivers-usb-phy-phy-xgs-iproc-usb-phy-mode.patch
|
||||
drivers-i2c-busses-xgs_iproc_smbus-clk-freq.patch
|
||||
0001-drivers-i2c-muxes-pca954x-deselect-on-exit.patch
|
||||
0002-driver-support-intel-igb-bcm5461S-phy.patch
|
||||
driver-ixgbe-external-phy.patch
|
||||
0003-drivers-net-ethernet-broadcom-tg3.patch
|
||||
driver-ixgbe-external-phy.patch
|
||||
|
||||
Reference in New Issue
Block a user