1. 18 Sep, 2021 2 commits
    • Florian Fainelli's avatar
      net: bcmgenet: Patch PHY interface for dedicated PHY driver · b972b54a
      Florian Fainelli authored
      When we are using a dedicated PHY driver (not the Generic PHY driver)
      chances are that it is going to configure RGMII delays and do that in a
      way that is incompatible with our incorrect interpretation of the
      phy_interface value.
      
      Add a quirk in order to reverse the PHY_INTERFACE_MODE_RGMII to the
      value of PHY_INTERFACE_MODE_RGMII_ID such that the MAC continues to be
      configured the way it used to be, but the PHY driver can account for
      adding delays. Conversely when PHY_INTERFACE_MODE_RGMII_TXID is
      specified, return PHY_INTERFACE_MODE_RGMII_RXID to the PHY since we will
      have enabled a TXC MAC delay (id_mode_dis=0, meaning there is a delay
      inserted).
      
      This is not considered a bug fix at this point since it only affects
      Broadcom STB platforms shipping with a Device Tree blob that is not
      updatable in the field (quite a few devices out there) and which was
      generated using the scripted Device Tree environment shipped with those
      platforms' SDK.
      Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      b972b54a
    • Heiner Kallweit's avatar
      sky2: Stop printing VPD info to debugfs · 0efcc3f2
      Heiner Kallweit authored
      Sky2 is parsing the VPD and adds the parsed information to its debugfs
      file. This isn't needed in kernel, userspace tools like lspci can be
      used to display such information nicely. Therefore remove this from
      the driver.
      
      lspci -vv:
      
      Capabilities: [50] Vital Product Data
      	Product Name: Marvell Yukon 88E8070 Gigabit Ethernet Controller
      	Read-only fields:
      		[PN] Part number: Yukon 88E8070
      		[EC] Engineering changes: Rev. 1.0
      		[MN] Manufacture ID: Marvell
      		[SN] Serial number: AbCdEfG970FD4
      		[CP] Extended capability: 01 10 cc 03
      		[RV] Reserved: checksum good, 9 byte(s) reserved
      	Read/write fields:
      		[RW] Read-write area: 1 byte(s) free
      	End
      
      Relevant part in debugfs file:
      
      0000:01:00.0 Product Data
      Marvell Yukon 88E8070 Gigabit Ethernet Controller
       Part Number: Yukon 88E8070
       Engineering Level: Rev. 1.0
       Manufacturer: Marvell
       Serial Number: AbCdEfG970FD4
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Acked-by: default avatarStephen Hemminger <stephen@networkplumber.org>
      Link: https://lore.kernel.org/r/bbaee8ab-9b2e-de04-ee7b-571e094cc5fe@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      0efcc3f2
  2. 17 Sep, 2021 25 commits
  3. 16 Sep, 2021 13 commits