Skip to content
Snippets Groups Projects
Select Git revision
  • 98cd1552ea27e512c7e99e2aa76042a26e4fb25c
  • vme-testing default
  • ci-test
  • master
  • remoteproc
  • am625-sk-ov5640
  • pcal6534-upstreaming
  • lps22df-upstreaming
  • msc-upstreaming
  • imx8mp
  • iio/noa1305
  • vme-next
  • vme-next-4.14-rc4
  • v4.14-rc4
  • v4.14-rc3
  • v4.14-rc2
  • v4.14-rc1
  • v4.13
  • vme-next-4.13-rc7
  • v4.13-rc7
  • v4.13-rc6
  • v4.13-rc5
  • v4.13-rc4
  • v4.13-rc3
  • v4.13-rc2
  • v4.13-rc1
  • v4.12
  • v4.12-rc7
  • v4.12-rc6
  • v4.12-rc5
  • v4.12-rc4
  • v4.12-rc3
32 results

dsa_loop.c

  • Florian Fainelli's avatar
    98cd1552
    net: dsa: Mock-up driver · 98cd1552
    Florian Fainelli authored
    
    This patch adds support for a DSA mock-up driver which essentially does
    the following:
    
    - registers/unregisters 4 fixed PHYs to the slave network devices
    - uses eth0 (configurable) as the master netdev
    - registers the switch as a fixed MDIO device against the fixed MDIO bus
      at address 31
    - includes dynamic debug prints for dsa_switch_ops functions that can be
      enabled to get call traces
    
    This is a good way to test modular builds as well as exercise the DSA
    APIs without requiring access to real hardware. This does not test the
    data-path, although this could be added later on.
    
    Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    98cd1552
    History
    net: dsa: Mock-up driver
    Florian Fainelli authored
    
    This patch adds support for a DSA mock-up driver which essentially does
    the following:
    
    - registers/unregisters 4 fixed PHYs to the slave network devices
    - uses eth0 (configurable) as the master netdev
    - registers the switch as a fixed MDIO device against the fixed MDIO bus
      at address 31
    - includes dynamic debug prints for dsa_switch_ops functions that can be
      enabled to get call traces
    
    This is a good way to test modular builds as well as exercise the DSA
    APIs without requiring access to real hardware. This does not test the
    data-path, although this could be added later on.
    
    Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>