tmp_suning_uos_patched/drivers/of
David Daney ac28b9f8cd netdev/phy: Handle IEEE802.3 clause 45 Ethernet PHYs
The IEEE802.3 clause 45 MDIO bus protocol allows for directly
addressing PHY registers using a 21 bit address, and is used by many
10G Ethernet PHYS.  Already existing is the ability of MDIO bus
drivers to use clause 45, with the MII_ADDR_C45 flag.  Here we add
struct phy_c45_device_ids to hold the device identifier registers
present in clause 45. struct phy_device gets a couple of new fields:
c45_ids to hold the identifiers and is_c45 to signal that it is clause
45.

get_phy_device() gets a new parameter is_c45 to indicate that the PHY
device should use the clause 45 protocol, and its callers are adjusted
to pass false.  The follow-on patch to of_mdio.c will pass true where
appropriate.

EXPORT phy_device_create() so that the follow-on patch to of_mdio.c
can use it to create phy devices for PHYs, that have non-standard
device identifier registers, based on the device tree bindings.

Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-27 21:23:24 -07:00
..
address.c ARM: spear: remove most mach/*.h header contents 2012-04-22 22:44:04 +02:00
base.c dt: add property iteration helpers 2012-04-18 13:53:11 +02:00
device.c drivercore: Output common devicetree information in uevent 2012-02-01 14:26:30 -07:00
fdt.c of/fdt.c: asm/setup.h included twice 2012-02-27 10:09:25 -06:00
irq.c of/irq: Add interrupts-names property to name an irq resource 2012-01-04 00:33:15 -07:00
Kconfig GPIO driver changes for v3.5 merge window 2012-05-24 14:01:46 -07:00
Makefile GPIO driver changes for v3.5 merge window 2012-05-24 14:01:46 -07:00
of_i2c.c of/i2c: implement of_find_i2c_adapter_by_node 2012-05-12 14:28:17 +02:00
of_mdio.c netdev/phy: Handle IEEE802.3 clause 45 Ethernet PHYs 2012-06-27 21:23:24 -07:00
of_mtd.c of/mtd/nand: add generic bindings and helpers 2012-03-15 23:28:19 +08:00
of_net.c drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required 2011-10-31 19:31:56 -04:00
of_pci_irq.c OF: PCI: const usage needed by MIPS 2012-05-21 14:31:48 +01:00
of_pci.c of: of_pci.c needs export.h since it uses EXPORT_SYMBOLS 2011-10-31 19:31:14 -04:00
pdt.c of/pdt: fix section mismatch warning 2011-12-27 16:37:30 -06:00
platform.c Merge branch 'for-armsoc' of git://git.linaro.org/people/rmk/linux-arm 2012-03-23 17:30:49 -07:00
selftest.c of: Add of_property_match_string() to find index into a string list 2012-01-28 10:29:20 -07:00