Skip to content
  • Hauke Mehrtens's avatar
    net: lantiq: Add Lantiq / Intel VRX200 Ethernet driver · fe1a5642
    Hauke Mehrtens authored
    
    
    This drives the PMAC between the GSWIP Switch and the CPU in the VRX200
    SoC. This is currently only the very basic version of the Ethernet
    driver.
    
    When the DMA channel is activated we receive some packets which were
    send to the SoC while it was still in U-Boot, these packets have the
    wrong header. Resetting the IP cores did not work so we read out the
    extra packets at the beginning and discard them.
    
    This also adapts the clock code in sysctrl.c to use the default name of
    the device node so that the driver gets the correct clock. sysctrl.c
    should be replaced with a proper common clock driver later.
    
    Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fe1a5642