lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1403482910-20821-1-git-send-email-vbridgers2013@gmail.com>
Date:	Sun, 22 Jun 2014 19:21:47 -0500
From:	Vince Bridgers <vbridgers2013@...il.com>
To:	f.fainelli@...il.com, netdev@...r.kernel.org
Cc:	vbridgers2013@...il.com
Subject: [PATCH net v3 0/3] libphy: Add phy specific function to access mmd

This set of patches addresses a problem found with the Micrel ksz9021 phy and
libphy, where the ksz9021 phy does not support mmd extended register access
per the IEEE specification as assumed by libphy. The first patch adds a
framework for phy specific support to specify their own function to access
extended phy registers, return a failure code if not supported, or to default
to libphy's IEEE defined method for accessing the mmd extended phy registers.

This issue was found by using the Synopsys EMAC and a Micrel ksz9021 phy on the
Altera Cyclone 5 SOC development kit. This patch was tested on the same system
in both positive and negative test cases.

---
V3: Correct formatting of function arguments, remove return statement from
    NULL functions, and add patch for PHY driver documentation per review
    comments.
V2: Split the original patch submission into seperate patches for the libphy
    framework required for the modification and for the Micrel Phy.

Vince Bridgers (3):
  libphy: Add phy specific function to access mmd phy registers
  libphy: Add stubs to hook IEEE MMD Register reads and writes
  Documentation: networking: phy.txt: Update text for indirect MMD
    access

 Documentation/networking/phy.txt |   18 ++++++++++-
 drivers/net/phy/micrel.c         |   23 +++++++++++++-
 drivers/net/phy/phy.c            |   64 ++++++++++++++++++++------------------
 drivers/net/phy/phy_device.c     |    6 ++++
 include/linux/phy.h              |   10 ++++++
 5 files changed, 89 insertions(+), 32 deletions(-)

-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ