07 Feb, 2014

1 commit

  • With this change driver will benefit from existing phylib and thus
    custom phy functionality implemented in the driver will go away:
    * Instantiation of the driver is now much shorter - 2 parameters
    instead of 4.
    * Simplified phy management/functoinality in driver is replaced with
    rich functionality of phylib.
    * Support of custom phy initialization is now done with existing
    "board_phy_config".

    Note that after this change some previously used config options
    (driver-specific PHY configuration) will be obsolete and they are simply
    substituted with similar options of phylib.

    For example:
    * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled
    by default.
    * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy
    explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise
    automatically the first discovered on MDIO bus phy will be used

    I believe there's no need now in "doc/README.designware_eth" because
    user only needs to instantiate the driver with "designware_initialize"
    whose prototype exists in "include/netdev.h".

    Cc: Joe Hershberger
    Cc: Vipin Kumar
    Cc: Stefan Roese
    Cc: Mischa Jonker
    Cc: Shiraz Hashim
    Cc: Albert ARIBAUD
    Cc: Amit Virdi
    Cc: Sonic Zhang
    Signed-off-by: Alexey Brodkin

    Alexey Brodkin
     

24 Jul, 2013

1 commit


25 Jun, 2013

3 commits

  • Faraday FTMAC110 10/100Mbps supports half-word data transfer for Linux.
    However it has a weird DMA alignment issue:

    (1) Tx DMA Buffer Address:
    1 bytes aligned: Invalid
    2 bytes aligned: O.K
    4 bytes aligned: O.K

    (2) Rx DMA Buffer Address:
    1 bytes aligned: Invalid
    2 bytes aligned: O.K
    4 bytes aligned: Invalid!!!

    Signed-off-by: Kuo-Jung Su
    Cc: Joe Hershberger
    Cc: Tom Rini

    Kuo-Jung Su
     
  • The device interface is 16 bits wide.
    All the available packets are read from the incoming fifo.

    Signed-off-by: Roberto Cerati
    Signed-off-by: Raffaele Recalcati
    [voice.shen@atmel.com: address comments from review results]
    [voice.shen@atmel.com: clean up for submit]
    Signed-off-by: Bo Shen
    Tested-by: Raffaele Recalcati

    Roberto Cerati
     
  • This patch adds support for the WEMAC, the ethernet controller included
    in the Allwinner A10 SoC. It will get used in the upcoming A10 board
    support.

    From: Stefan Roese
    Signed-off-by: Stefan Roese
    Signed-off-by: Henrik Nordstrom

    Henrik Nordström
     

30 May, 2013

1 commit


15 May, 2013

1 commit


30 Apr, 2013

2 commits


28 Jan, 2013

1 commit


09 Jan, 2013

1 commit


27 Sep, 2012

1 commit


07 Jul, 2012

1 commit


04 Apr, 2012

1 commit

  • Xilinx LocalLink Tri-Mode Ether MAC driver can be
    used by Xilinx Microblaze or Xilinx ppc405/440 in
    SDMA and FIFO mode. DCR or XPS bus can be used.

    The driver uses and requires MII and PHYLIB.

    CP: 4 warnings: 'Use of volatile is usually wrong'
    I won't fix this, because it depends on the network
    driver subsystem.

    Reported-by: Michal Simek
    Signed-off-by: Stephan Linz

    Stephan Linz
     

06 Jan, 2012

1 commit

  • This adds ethernet driver for Calxeda xgmac found on Highbank SOC.

    Signed-off-by: Rob Herring

    Fix: WARNING: __aligned(size) is preferred over
    __attribute__((aligned(size)))
    Signed-off-by: Wolfgang Denk

    Rob Herring
     

09 Dec, 2011

1 commit

  • This fixes the build of the two sh boards shmin and r7780mp and qemu-mips
    which currently fail to build due to dropped pre-CONFIG_NET_MULTI code.

    This v2 patch minimizes the number of lines in the diff for easy review
    and to eliminate any possible accidential changes resulting from moving
    lines of code in the file. This also makes the register function very easy.

    Any cleanups and improvements are intentionally deferred to follow-up patches
    to keep this patch as simple and as easy to review as possible.

    A new driver register function, ne2k_register() calls the existing
    one-time setup part of the old init function and calls eth_register().

    Changes to shmin, r7780mp and qemu-mips:
    - Call the new ne2k_register() from board_eth_init() of the boards.

    - Tested using qemu-mips board,
    - Tested the two renesas / sh boards r7780mp and shmin to compile again,
    and should work.

    checkpatch-clean when "--ignore VOLATILE" is added to .checkpatch.conf,
    and no warnings introduced in none of the three boards using this driver.

    Signed-off-by: Bernhard Kaindl

    Bernhard Kaindl
     

27 Oct, 2011

1 commit


24 Oct, 2011

2 commits


16 Oct, 2011

1 commit


01 Oct, 2011

3 commits

  • Signed-off-by: Marek Vasut
    Cc: Ben Warren
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel

    Marek Vasut
     
  • This patch allows user to register multiple FEC controllers. To preserve
    compatibility with older boards, the mxcfec_register() call is still in place.
    To use multiple controllers, new macro is in place, the mxcfec_register_multi(),
    which takes more arguments. The syntax is:

    mxcfec_register_multi(bd, FEC ID, FEC PHY ID on the MII bus, base address);

    To disable the fecmxc_register() compatibility stuff, define the macro
    CONFIG_FEC_MXC_MULTI. This will remove the requirement for defining IMX_FEC_BASE
    and CONFIG_FEC_MXC_PHYADDR.

    Signed-off-by: Marek Vasut
    Cc: Ben Warren
    Cc: Stefano Babic
    Cc: Wolfgang Denk
    Cc: Detlev Zundel

    Marek Vasut
     
  • This patch adds support for Fast Ethernet Controller driver for
    Armada100 series.

    Signed-off-by: Ajay Bhargav
    Signed-off-by: Prafulla Wadaskar

    Ajay Bhargav
     

10 Sep, 2011

2 commits


02 Feb, 2011

1 commit

  • The patch adds basic support for the Freescale's i.MX35
    (arm1136 based) processor.

    The patch adds also a prototype for the initialization
    of the FEC(ethernet controller) to netdev.h to avoid
    warnings.

    Signed-off-by: Stefano Babic

    Stefano Babic
     

10 Jan, 2011

1 commit


12 Oct, 2010

3 commits


13 Jul, 2010

1 commit


12 Jul, 2010

2 commits


04 May, 2010

2 commits


01 Feb, 2010

2 commits


14 Dec, 2009

1 commit

  • Make the lan91c96 driver capable of CONFIG_NET_MULTI
    to be clean for the new arch, add a a lil detect function
    Most of the formatting change was done to keep checkpatch
    silent, but a few functions and #if 0ed code which
    does not make sense for NET_MULTI have been removed

    Now, use the lan91c96_initialize() function to init the driver

    Signed-off-by: Nishanth Menon
    Signed-off-by: Ben Warren

    Nishanth Menon
     

05 Oct, 2009

1 commit

  • All in-tree boards that use this controller have CONFIG_NET_MULTI
    added
    Also:
    - changed CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111
    - cleaned up line lengths
    - modified all boards that override weak function in this driver
    - modified all eeprom standalone apps to work with new driver
    - updated blackfin standalone EEPROM app after testing

    Signed-off-by: Ben Warren
    Signed-off-by: Mike Frysinger

    Ben Warren
     

26 Aug, 2009

1 commit

  • All in-tree boards that use this controller have CONFIG_NET_MULTI added
    Also:
    - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900
    - changed CS8900_BASE to CONFIG_CS8900_BASE
    - changed CS8900_BUS?? to CONFIG_CS8900_BUS??
    - cleaned up line lengths
    - modified VCMA9 command function that accesses the device
    - removed MAC address initialization from lib_arm/board.c

    Signed-off-by: Ben Warren
    Tested-by: Wolfgang Denk
    Acked-by: Wolfgang Denk

    Ben Warren