04 Dec, 2009

1 commit


21 Oct, 2009

3 commits

  • In ks8851_set_rx_mode() the case handling IFF_MULTICAST was also setting
    the RXCR1_AE bit by accident. This meant that all unicast frames where
    being accepted by the device. Remove RXCR1_AE from this case.

    Note, RXCR1_AE was also masking a problem with setting the MAC address
    properly, so needs to be applied after fixing the MAC write order.

    Fixes a bug reported by Doong, Ping of Micrel. This version of the
    patch avoids setting RXCR1_ME for all cases.

    Signed-off-by: Ben Dooks
    Signed-off-by: David S. Miller

    Ben Dooks
     
  • The MAC address register was being written in the wrong order, so add
    a new address macro to convert mac-address byte to register address and
    a ks8851_wrreg8() function to write each byte without having to worry
    about any difficult byte swapping.

    Fixes a bug reported by Doong, Ping of Micrel.

    Signed-off-by: Ben Dooks
    Signed-off-by: David S. Miller

    Ben Dooks
     
  • Issue a full soft reset at probe time.

    This was reported by Doong Ping of Micrel, but no explanation of why this
    is necessary or what bug it is fixing. Add it as it does not seem to hurt
    the current driver and ensures that the device is in a known state when we
    start setting it up.

    Signed-off-by: Ben Dooks
    Signed-off-by: David S. Miller

    Ben Dooks
     

23 Sep, 2009

1 commit

  • This makes it consistent with other buses (platform, i2c, vio, ...). I'm
    not sure why we use the prefixes, but there must be a reason.

    This was easy enough to do it, and I did it.

    Signed-off-by: Anton Vorontsov
    Cc: David Brownell
    Cc: David Woodhouse
    Cc: Grant Likely
    Cc: Jean Delvare
    Cc: Ben Dooks
    Cc: Benjamin Herrenschmidt
    Cc: Dmitry Torokhov
    Cc: Samuel Ortiz
    Cc: "John W. Linville"
    Acked-by: Mike Frysinger
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Anton Vorontsov
     

01 Sep, 2009

1 commit


20 Jul, 2009

1 commit