[Top] [All Lists]

[PATCH v2 0/4] netdev/phy: 10G PHY support.

To: Grant Likely <>, Rob Herring <>,, "David S. Miller" <>,
Subject: [PATCH v2 0/4] netdev/phy: 10G PHY support.
From: David Daney <>
Date: Wed, 27 Jun 2012 10:33:34 -0700
Cc:,,, David Daney <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=wORRgnBv8RFTXhfOxoH+KsFaVPE9YsbXmi6GT4D3JpI=; b=g+U8ISpeHFNoqXyePWyeYermcl6JGuzKXUZKQL7h4yvZpbP6J+b5UJ4Vd8ITfMMkK2 h9Uyv6m30kIVkRqnc0Cts5u6s5TmlWQ3ia3rRaxEDpx50Z9K5FHV7cuM10oJ2NypPCcC 0mXm9Epg2TyDeXv+XrKrXXE8Z+53iOYdHpQ/D0iqGMzZJhm6ghm/kIpa8exhuRMbSQXP gyl91hesQKoEQbr9fRSlIJjs57mRaRxt6RTZ6Il6sH8884+IVa0XOX0eEH7c89+JRdmW TG9Oy82OlVxI3BiMFKgjIe/N9o6agg2U8vfOnAT/saR/Gthuzsxbew9t19eLwbvVx0R/ E1zg==
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
From: David Daney <>

The only non-cosmetic change from v1 is to pass an additional argument
to get_phy_device() that indicates that the PHY uses 802.3 clause 45
signaling, previously I had been using a high order bit of the addr
parameter for this.

There are also changes from v1 in the code and comment formatting.
These should now be closer to what David Miller prefers.

>From v1:

The existing PHY driver infrastructure supports IEEE 802.3 Clause 22
PHYs used with 10/100/1000MB Ethernet.  For 10G Ethernet, many PHYs
use 802.3 Clause 45.  These patches attempt to add core support for
this as well as a driver for BCM87XX 10G PHY devices.

This is reworked from patches I send about 9 months ago:

Several of the patches have device tree bindings in them, so the
device tree people get to enjoy them too.

David Daney (4):
  netdev/phy: Handle IEEE802.3 clause 45 Ethernet PHYs
  netdev/phy/of: Handle IEEE802.3 clause 45 Ethernet PHYs in
  netdev/phy/of: Add more methods for binding PHY devices to drivers.
  netdev/phy: Add driver for Broadcom BCM87XX 10G Ethernet PHYs

 .../devicetree/bindings/net/broadcom-bcm87xx.txt   |   29 +++
 Documentation/devicetree/bindings/net/phy.txt      |   12 +-
 drivers/net/phy/Kconfig                            |    5 +
 drivers/net/phy/Makefile                           |    1 +
 drivers/net/phy/bcm87xx.c                          |  238 ++++++++++++++++++++
 drivers/net/phy/mdio_bus.c                         |    9 +-
 drivers/net/phy/phy_device.c                       |  105 ++++++++-
 drivers/of/of_mdio.c                               |   16 +-
 include/linux/phy.h                                |   24 ++-
 9 files changed, 424 insertions(+), 15 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/broadcom-bcm87xx.txt
 create mode 100644 drivers/net/phy/bcm87xx.c


<Prev in Thread] Current Thread [Next in Thread>