23 Jun, 2020

2 commits


24 Apr, 2019

1 commit

  • The default m88e151x LED configuration is 0x1177, used LED[0]
    for 1000M link, LED[1] for 100M link, and LED[2] for active.
    But for some boards, which use LED[0] for link, and LED[1] for
    active, prefer to be 0x1040. To be compatible with this case,
    this patch defines a new dev_flag, and set it before connect
    phy in HNS3 driver. When phy initializing, using the new
    LED configuration if this dev_flag is set.

    Signed-off-by: Jian Shen
    Signed-off-by: Huazhong Tan
    Signed-off-by: David S. Miller

    Jian Shen
     

25 Feb, 2019

2 commits

  • This patch adds support for the 88x2110 PHY, which is similar to the
    already supported 88x3310 PHY without the SFP interface.

    It supports 10/100/1000BASET along with 2.5GBASET, 5GBASET and 10GBASET,
    with the same interface modes that are used by the 3310.

    This PHY don't have the same issue as the 88x3310 regarding 2.5/5G
    abilities, and correctly follows the 802.3bz standard to list the
    supported abilities.

    Signed-off-by: Maxime Chevallier
    Suggested-by: Antoine Tenart
    Reviewed-by: Andrew Lunn
    Signed-off-by: David S. Miller

    Maxime Chevallier
     
  • The PHY ID corresponding to the 88X3310 is also used for other PHYs in
    the same family, such as the 88E2010. Use a #define for the PHY id, that
    ignores the last nibble.

    Signed-off-by: Maxime Chevallier
    Reviewed-by: Andrew Lunn
    Signed-off-by: David S. Miller

    Maxime Chevallier
     

04 Jul, 2018

1 commit


02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

03 Feb, 2017

2 commits

  • The 88e1545 PHYs are discrete Marvell PHYs, found in a quad package on
    the zii-devel-b board. Add support for it to the Marvell PHY driver.

    Signed-off-by: Andrew Lunn
    Reviewed-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Andrew Lunn
     
  • The mv88e6390 Ethernet switch has internal PHYs. These PHYs don't have
    an model ID in the ID2 register. So the MDIO driver in the switch
    intercepts reads to this register, and returns the switch family ID.
    Extend the Marvell PHY driver by including this ID, and treat the PHY
    as a 88E1540.

    Signed-off-by: Andrew Lunn
    Reviewed-by: Florian Fainelli
    Signed-off-by: David S. Miller

    Andrew Lunn
     

18 Nov, 2015

1 commit


25 Oct, 2014

1 commit


31 May, 2013

2 commits


23 Nov, 2010

1 commit

  • The 88E1149R is 10/100/1000 quad-gigabit Ethernet PHY. The
    .config_aneg function can be shared with 88E1118, but it needs its own
    .config_init.

    Signed-off-by: David Daney
    Cc: Cyril Chemparathy
    Cc: Arnaud Patard
    Cc: Benjamin Herrenschmidt
    Cc: Wolfram Sang
    Signed-off-by: David S. Miller

    David Daney
     

30 Oct, 2010

1 commit


05 Aug, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1443 commits)
    phy/marvell: add 88ec048 support
    igb: Program MDICNFG register prior to PHY init
    e1000e: correct MAC-PHY interconnect register offset for 82579
    hso: Add new product ID
    can: Add driver for esd CAN-USB/2 device
    l2tp: fix export of header file for userspace
    can-raw: Fix skb_orphan_try handling
    Revert "net: remove zap_completion_queue"
    net: cleanup inclusion
    phy/marvell: add 88e1121 interface mode support
    u32: negative offset fix
    net: Fix a typo from "dev" to "ndev"
    igb: Use irq_synchronize per vector when using MSI-X
    ixgbevf: fix null pointer dereference due to filter being set for VLAN 0
    e1000e: Fix irq_synchronize in MSI-X case
    e1000e: register pm_qos request on hardware activation
    ip_fragment: fix subtracting PPPOE_SES_HLEN from mtu twice
    net: Add getsockopt support for TCP thin-streams
    cxgb4: update driver version
    cxgb4: add new PCI IDs
    ...

    Manually fix up conflicts in:
    - drivers/net/e1000e/netdev.c: due to pm_qos registration
    infrastructure changes
    - drivers/net/phy/marvell.c: conflict between adding 88ec048 support
    and cleaning up the IDs
    - drivers/net/wireless/ipw2x00/ipw2100.c: trivial ipw2100_pm_qos_req
    conflict (registration change vs marking it static)

    Linus Torvalds
     

17 Jul, 2010

1 commit

  • This moves the various known Marvell PHY IDs to include/linux/marvell_phy.h
    along with dev_flags definitions for use by the driver.

    I then added a flag that changes the PHY init code to setup the LEDs
    config to the values needed to operate a dns323 rev C1 NAS.

    I moved the existing "resistance" flag to the .h as well, though I've
    been unable to find whoever sets this to convert it to use that constant.

    Signed-off-by: Benjamin Herrenschmidt
    Reviewed-by: Wolfram Sang
    Acked-by: David S. Miller
    Signed-off-by: Nicolas Pitre

    Benjamin Herrenschmidt