01 Jul, 2010

1 commit


05 Sep, 2008

3 commits


12 Jun, 2008

3 commits

  • As with the multiple RX queue support, allow the platform code to
    specify that the hardware we are running on supports multiple TX
    queues. This patch only uses the highest-numbered enabled queue
    to send packets to for now, this can be extended later to enable
    QoS and such.

    Signed-off-by: Lennert Buytenhek
    Acked-by: Dale Farnsworth

    Lennert Buytenhek
     
  • Allow the platform code to specify that we are running on hardware
    that is capable of supporting multiple RX queues. If this option
    is used, initialise all of the given RX queues instead of just RX
    queue zero.

    Signed-off-by: Lennert Buytenhek
    Acked-by: Dale Farnsworth

    Lennert Buytenhek
     
  • General cleanup of the mv643xx_eth driver. Mainly fixes coding
    style / indentation issues, get rid of some useless 'volatile's,
    kill some more superfluous comments, and such.

    Signed-off-by: Lennert Buytenhek
    Acked-by: Dale Farnsworth

    Lennert Buytenhek
     

29 Apr, 2008

5 commits

  • There exist chips with up to four mv643xx_eth silicon blocks but
    only one external SMI (MII management) interface -- the SMI logic
    of the first block is shared by all the blocks.

    Handle this by allowing a per-port override of which
    mv643xx_eth_shared's SMI registers (and spinlock) to use.

    Signed-off-by: Lennert Buytenhek
    Acked-by: Nicolas Pitre
    Signed-off-by: Dale Farnsworth

    Lennert Buytenhek
     
  • Change the MV643XX_ETH_SHARED_NAME platform driver name to something
    shorter than 19 characters, so that we can register multiple (otherwise
    we end up with sysfs conflicts since all instances will map to
    "mv643xx_eth_shared." as there is a 20-char sysfs file name limit.)

    Signed-off-by: Lennert Buytenhek
    Acked-by: Nicolas Pitre
    Signed-off-by: Dale Farnsworth

    Lennert Buytenhek
     
  • Make t_clk configurable via platform device data (with the current
    hardcoded value, 133 MHz, being the default), as it varies across
    different chip families.

    Signed-off-by: Lennert Buytenhek
    Acked-by: Nicolas Pitre
    Signed-off-by: Dale Farnsworth

    Lennert Buytenhek
     
  • Make it possible to pass mbus_dram_target_info to the mv643xx_eth
    driver via the platform data, and make the mv643xx_eth driver
    program the window registers based on this data if it is passed in.

    Signed-off-by: Lennert Buytenhek
    Reviewed-by: Tzachi Perelstein
    Acked-by: Russell King
    Signed-off-by: Dale Farnsworth

    Lennert Buytenhek
     
  • Move mv643xx_eth's static state (ethernet register block base address
    and MII management interface spinlock) into a struct hanging off the
    shared platform device. This is necessary to support chips that
    contain multiple mv643xx_eth silicon blocks.

    Signed-off-by: Lennert Buytenhek
    Acked-by: Nicolas Pitre
    Signed-off-by: Dale Farnsworth

    Lennert Buytenhek
     

31 Oct, 2007

1 commit


28 Oct, 2007

1 commit


23 Oct, 2007

1 commit

  • The mv643xx ethernet silicon block is also found in a couple of other
    Marvell chips. As a first step towards splitting off the mv643xx_eth
    bits from the rest of the mv643xx bits, this patch splits the mv643xx
    ethernet platform device data struct in linux/mv643xx.h off into
    linux/mv643xx_eth.h, and includes the latter from the former.

    Signed-off-by: Lennert Buytenhek
    Acked-by: Tzachi Perelstein
    Signed-off-by: Dale Farnsworth

    Lennert Buytenhek