1. 03 6月, 2021 4 次提交
  2. 26 4月, 2021 4 次提交
  3. 19 4月, 2021 6 次提交
  4. 13 4月, 2021 1 次提交
  5. 09 4月, 2021 7 次提交
  6. 29 1月, 2021 1 次提交
  7. 15 11月, 2020 1 次提交
  8. 14 11月, 2020 1 次提交
  9. 11 11月, 2020 1 次提交
  10. 03 11月, 2020 1 次提交
  11. 05 10月, 2020 1 次提交
  12. 04 10月, 2020 1 次提交
  13. 02 10月, 2020 1 次提交
    • W
      net: phy: realtek: Modify 2.5G PHY name to RTL8226 · 7a333af6
      Willy Liu 提交于
      Realtek single-chip Ethernet PHY solutions can be separated as below:
      10M/100Mbps: RTL8201X
      1Gbps: RTL8211X
      2.5Gbps: RTL8226/RTL8221X
      RTL8226 is the first version for realtek that compatible 2.5Gbps single PHY.
      Since RTL8226 is single port only, realtek changes its name to RTL8221B from
      the second version.
      PHY ID for RTL8226 is 0x001cc800 and RTL8226B/RTL8221B is 0x001cc840.
      
      RTL8125 is not a single PHY solution, it integrates PHY/MAC/PCIE bus
      controller and embedded memory.
      Signed-off-by: NWilly Liu <willy.liu@realtek.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7a333af6
  14. 30 9月, 2020 2 次提交
    • S
      net: mdiobus: Remove WARN_ON_ONCE(in_interrupt()) · 85bdebd1
      Sebastian Andrzej Siewior 提交于
      in_interrupt() is ill defined and does not provide what the name
      suggests. The usage especially in driver code is deprecated and a tree wide
      effort to clean up and consolidate the (ab)usage of in_interrupt() and
      related checks is happening.
      
      In this case the check covers only parts of the contexts in which these
      functions cannot be called. It fails to detect preemption or interrupt
      disabled invocations.
      
      As the functions which contain these warnings invoke mutex_lock() which
      contains a broad variety of checks (always enabled or debug option
      dependent) and therefore covers all invalid conditions already, there is no
      point in having inconsistent warnings in those drivers. The conditional
      return is not really valuable in practice either.
      
      Just remove them.
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      85bdebd1
    • W
      net: phy: realtek: fix rtl8211e rx/tx delay config · bbc4d71d
      Willy Liu 提交于
      There are two chip pins named TXDLY and RXDLY which actually adds the 2ns
      delays to TXC and RXC for TXD/RXD latching. These two pins can config via
      4.7k-ohm resistor to 3.3V hw setting, but also config via software setting
      (extension page 0xa4 register 0x1c bit13 12 and 11).
      
      The configuration register definitions from table 13 official PHY datasheet:
      PHYAD[2:0] = PHY Address
      AN[1:0] = Auto-Negotiation
      Mode = Interface Mode Select
      RX Delay = RX Delay
      TX Delay = TX Delay
      SELRGV = RGMII/GMII Selection
      
      This table describes how to config these hw pins via external pull-high or pull-
      low resistor.
      
      It is a misunderstanding that mapping it as register bits below:
      8:6 = PHY Address
      5:4 = Auto-Negotiation
      3 = Interface Mode Select
      2 = RX Delay
      1 = TX Delay
      0 = SELRGV
      So I removed these descriptions above and add related settings as below:
      14 = reserved
      13 = force Tx RX Delay controlled by bit12 bit11
      12 = Tx Delay
      11 = Rx Delay
      10:0 = Test && debug settings reserved by realtek
      
      Test && debug settings are not recommend to modify by default.
      
      Fixes: f81dadbc ("net: phy: realtek: Add rtl8211e rx/tx delays config")
      Signed-off-by: NWilly Liu <willy.liu@realtek.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bbc4d71d
  15. 29 9月, 2020 3 次提交
  16. 28 9月, 2020 1 次提交
  17. 24 9月, 2020 1 次提交
  18. 22 9月, 2020 2 次提交
  19. 20 9月, 2020 1 次提交