31 May, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details you
    should have received a copy of the gnu general public license along
    with this program if not write to the free software foundation inc
    59 temple place suite 330 boston ma 02111 1307 usa

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1334 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

03 Aug, 2013

1 commit


14 Apr, 2011

1 commit

  • This is a revised patch that permits a shifted access to the
    LAN9221 registers. More specifically:

    It adds a shift parameter in the platform_data.
    It introduces an ops in smsc911x_data.
    A choice of access function to use at run-time.
    Four new shifted access function.

    Signed-off-by: Mathieu Poirier
    Signed-off-by: Alessandro Rubini
    Signed-off-by: David S. Miller

    Mathieu J. Poirier
     

14 Oct, 2009

1 commit


28 Apr, 2009

1 commit

  • This is V2 of the smsc911x fifo byteswap patch.

    The smsc911x hardware supports both big and little and endian
    hardware configurations, and the linux smsc911x driver currently
    detects word order.

    For correct operation on big endian platforms lacking swapped
    byte lanes the following patch is needed. Only fifo data is
    swapped, register data does not require any swapping.

    Signed-off-by: Magnus Damm
    Acked-by: Steve Glendinning
    Signed-off-by: David S. Miller

    Magnus Damm
     

01 Feb, 2009

2 commits

  • Some platforms (for example pcm037) do not have an EEPROM fitted,
    instead storing their mac address somewhere else. The bootloader
    fetches this and configures the ethernet adapter before the kernel is
    started.

    This patch allows a platform to indicate to the driver via the
    SMSC911X_SAVE_MAC_ADDRESS flag that the mac address has already been
    configured via such a mechanism, and should be saved before resetting
    the chip.

    Signed-off-by: Steve Glendinning
    Acked-by: Sascha Hauer
    Tested-by: Sascha Hauer
    Signed-off-by: David S. Miller

    Steve Glendinning
     
  • On LAN9115/LAN9117/LAN9215/LAN9217, external phys are supported. These
    are usually indicated by a hardware strap which sets an "external PHY
    detected" bit in the HW_CFG register.

    In some cases it is desirable to override this hardware strap and force
    use of either the internal phy or an external PHY. This patch adds
    SMSC911X_FORCE_INTERNAL_PHY and SMSC911X_FORCE_EXTERNAL_PHY flags so a
    platform can indicate this preference via its platform_data.

    Signed-off-by: Steve Glendinning
    Acked-by: Sascha Hauer
    Tested-by: Sascha Hauer
    Signed-off-by: David S. Miller

    Steve Glendinning
     

11 Dec, 2008

1 commit


06 Nov, 2008

1 commit

  • Attached is a driver for SMSC's LAN911x and LAN921x families of embedded
    ethernet controllers.

    There is an existing smc911x driver in the tree; this is intended to
    replace it. Dustin McIntire (the author of the smc911x driver) has
    expressed his support for switching to this driver.

    This driver contains workarounds for all known hardware issues, and has
    been tested on all flavours of the chip on multiple architectures.

    This driver now uses phylib, so this patch also adds support for the
    device's internal phy

    Signed-off-by: Steve Glendinning
    Signed-off-by: Bahadir Balban
    Signed-off-by: Dustin Mcintire
    Signed-off-by: Bill Gatliff
    Signed-off-by: Jeff Garzik

    Steve Glendinning