04 May, 2011

1 commit

  • stmmac.h uses struct platform_device and doesn't include
    . Whereas drivers/net/stmmac/stmmac.h includes it, but
    doesn't directly use it. And so we get following compilation warning while using
    this file:
    warning: ‘struct platform_device’ declared inside parameter list

    This patch includes in linux/stmmac.h and removes it
    from drivers/net/stmmac/stmmac.h

    Signed-off-by: Viresh Kumar
    Acked-by: Giuseppe Cavallaro
    Signed-off-by: David S. Miller

    Viresh KUMAR
     

25 Nov, 2010

4 commits


17 Oct, 2010

1 commit


18 Sep, 2010

2 commits

  • The first version of the driver had hard-coded the logic
    for handling the checksum offloading.
    This was designed according to the chips included in
    the STM platforms where:
    o MAC10/100 supports no COE at all.
    o GMAC fully supports RX/TX COE.

    This is not good for other chip configurations where,
    for example, the mac10/100 supports the tx csum in HW
    or when the GMAC has no IPC.

    Thanks to Johannes Stezenbach; he provided me a first
    draft of this patch that only reviewed the IPC for the
    GMAC devices.

    This patch also helps on SPEAr platforms where the
    MAC10/100 can perform the TX csum in HW.
    Thanks to Deepak SIKRI for his support on this.

    In the end, GMAC devices for STM platforms have
    a bugged Jumbo frame support that needs to have
    the Tx COE disabled for oversized frames (due to
    limited buffer sizes). This information is also
    passed through the driver's platform structure.

    Signed-off-by: Giuseppe Cavallaro
    Signed-off-by: Johannes Stezenbach
    Signed-off-by: Deepak SIKRI
    Signed-off-by: David S. Miller

    Giuseppe CAVALLARO
     
  • This patch adds the CSR Clock range selection.

    Original patch from Johannes Stezenbach fixed the CSR
    in the stmmac_mdio. We agreed to provide this through
    the platform instead of.
    Also thanks to Johannes for having tested it on ARM.

    Signed-off-by: Giuseppe Cavallaro
    Signed-off-by: Johannes Stezenbach
    Signed-off-by: David S. Miller

    Giuseppe CAVALLARO
     

31 Aug, 2010

1 commit

  • In file included from drivers/net/stmmac/stmmac_ethtool.c:30:
    drivers/net/stmmac/stmmac.h:111: warning: 'struct platform_device' declared inside parameter list
    drivers/net/stmmac/stmmac.h:111: warning: its scope is only this definition or declaration, which is probably not what you want
    drivers/net/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
    drivers/net/stmmac/stmmac_main.c:1744: warning: cast from pointer to integer of different size
    In file included from drivers/net/stmmac/stmmac_mdio.c:31:
    drivers/net/stmmac/stmmac.h:111: warning: 'struct platform_device' declared inside parameter list
    drivers/net/stmmac/stmmac.h:111: warning: its scope is only this definition or declaration, which is probably not what you want
    drivers/net/stmmac/dwmac1000_core.c: In function 'dwmac1000_dump_regs':
    drivers/net/stmmac/dwmac1000_core.c:56: warning: cast from pointer to integer of different size

    Reported-by: Stephen Rothwell
    Signed-off-by: David S. Miller

    David S. Miller
     

26 Aug, 2010

1 commit


14 Apr, 2010

4 commits


08 Jan, 2010

3 commits


15 Oct, 2009

1 commit

  • This is the driver for the ST MAC 10/100/1000 on-chip Ethernet
    controllers (Synopsys IP blocks).

    Driver documentation:
    o http://stlinux.com/drupal/kernel/network/stmmac
    Revisions:
    o http://stlinux.com/drupal/kernel/network/stmmac-driver-revisions
    Performances:
    o http://stlinux.com/drupal/benchmarks/networking/stmmac

    Signed-off-by: Giuseppe Cavallaro
    Signed-off-by: David S. Miller

    Giuseppe Cavallaro