[net-next]resend Disable writting on reg config1 value is read-only On rtl8101/8102 MEMMAP | IOMAP | VPD | PMEnable is enabled on default and is read-only and is not need to write on these.
2015-07-08 21:55 GMT+03:00 Marian Corcodel <corcodel.mar...@gmail.com>: > On rtl8101/8102 MEMMAP | IOMAP | VPD | PMEnable is enabled on default > and is read-only and is not need to write on these.
diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 1a55057..c285028 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -6417,7 +6417,7 @@ static void rtl_hw_start_8102e_2(struct rtl8169_private *tp) rtl_tx_performance_tweak(pdev, 0x5 << MAX_READ_REQUEST_SHIFT); - RTL_W8(Config1, MEMMAP | IOMAP | VPD | PMEnable); + //RTL_W8(Config1, MEMMAP | IOMAP | VPD | PMEnable); RTL_W8(Config3, RTL_R8(Config3) & ~Beacon_en); }