| 17ecfa9b | 08-Oct-2015 |
Bin Meng <bmeng.cn@gmail.com> |
net: phy: Test previous phydev->dev against new mac dev
In phy_connect_dev(), if the phy device has an accociated mac device before, a warning message will be printed. But we should test the old dev
net: phy: Test previous phydev->dev against new mac dev
In phy_connect_dev(), if the phy device has an accociated mac device before, a warning message will be printed. But we should test the old device against the new one, if they are actually the same one, don't print the warning message.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 3e1949d7 | 08-Oct-2015 |
Bin Meng <bmeng.cn@gmail.com> |
net: phy: Change to print all phys that are not found
In get_phy_device_by_mask(), when no phy is found, currently we only print a message to show the first phy address that is not found. But this i
net: phy: Change to print all phys that are not found
In get_phy_device_by_mask(), when no phy is found, currently we only print a message to show the first phy address that is not found. But this is not always the case as multiple phys can be specified by phy_mask. Change to print all phys that are not found, and to reduce the console boot log, change to use 'debug' instead of 'printf'.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 0132b9ab | 08-Oct-2015 |
Bin Meng <bmeng.cn@gmail.com> |
net: phy: Don't create phy device when there is no phy
In get_phy_device_by_mask(), when no phy is found, we should not create any phy device.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by:
net: phy: Don't create phy device when there is no phy
In get_phy_device_by_mask(), when no phy is found, we should not create any phy device.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 4f485150 | 07-Oct-2015 |
Sylvain Rochet <sylvain.rochet@finsecur.com> |
net: phy: micrel: disable NAND-tree for KSZ8051
NAND-tree is used to check wiring between MAC and PHY using NAND gates on the PHY side, hence the name.
NAND-tree initial status is latched at reset
net: phy: micrel: disable NAND-tree for KSZ8051
NAND-tree is used to check wiring between MAC and PHY using NAND gates on the PHY side, hence the name.
NAND-tree initial status is latched at reset by probing the IRQ pin. However some devices are sharing the PHY IRQ pin with other peripherals such as Atmel SAMA5D[34]x-EK boards when using the optional TM7000 display module, therefore they are switching the PHY in NAND-tree test mode depending on the current IRQ line status at reset.
This patch ensure PHY is not in NAND-tree test mode only for the Micrel KSZ8051 PHY used by Atmel. There are other Micrel PHY affected but I doubt they are used on such weird hardware design.
Signed-off-by: Sylvain Rochet <sylvain.rochet@finsecur.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 1b564cec | 15-Jul-2015 |
Jiandong Zheng <jdzheng@broadcom.com> |
net: phy: broadcom: Add BCM Cygnus PHY
Add Ethernet PHY for BCM Cygnus SoC
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by: Steve Rae <srae@broadcom.com> Acked-by: Joe Hershberge
net: phy: broadcom: Add BCM Cygnus PHY
Add Ethernet PHY for BCM Cygnus SoC
Signed-off-by: Jiandong Zheng <jdzheng@broadcom.com> Signed-off-by: Steve Rae <srae@broadcom.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 59370f3f | 15-Jul-2015 |
Jörg Krause <joerg.krause@embedded.rocks> |
net: phy: delay only if reset handler is registered
With commit e3a77218a256edbe201112a39beeed8adcabae3f the MII bus is only reset if a reset handler is registered. If there is no reset handler ther
net: phy: delay only if reset handler is registered
With commit e3a77218a256edbe201112a39beeed8adcabae3f the MII bus is only reset if a reset handler is registered. If there is no reset handler there is no need to wait for a device to come out of the reset.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
show more ...
|
| 8396d0ab | 06-Jun-2015 |
Clemens Gruber <clemens.gruber@pqgruber.com> |
net: Add support for Marvell 88E1510 PHY
Support the 88E1510 PHY which is very similar to the 88E1518. I also set the INTn output and configured the LEDs.
Signed-off-by: Clemens Gruber <clemens.gru
net: Add support for Marvell 88E1510 PHY
Support the 88E1510 PHY which is very similar to the 88E1518. I also set the INTn output and configured the LEDs.
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Hao Zhang <hzhang@ti.com> Cc: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 90a94ef6 | 06-Jun-2015 |
Clemens Gruber <clemens.gruber@pqgruber.com> |
net: Improve 88E151x PHY initialization
- The EEE fixup magic should also be enabled for RGMII - Improved comments
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Cc: Joe Hershberger <j
net: Improve 88E151x PHY initialization
- The EEE fixup magic should also be enabled for RGMII - Improved comments
Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Hao Zhang <hzhang@ti.com> Cc: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| abbfcbe5 | 13-May-2015 |
Michal Simek <michal.simek@xilinx.com> |
net: phy: Add support for all targets which requires MANUAL_RELOC
Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated. This p
net: phy: Add support for all targets which requires MANUAL_RELOC
Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated. This patch is fixing function pointers passed to phy_register function. This patch was tested on Microblaze architecture.
Signed-off-by: Michal Simek <michal.simek@xilinx.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 793ea947 | 24-Apr-2015 |
Shengzhou Liu <Shengzhou.Liu@freescale.com> |
net/phy: refactor RTL8211F initialization
RTL8211F needs to enalbe TXDLY for RGMII during phy initialization, so move it to rtl8211f_config for early initialization.
Signed-off-by: Shengzhou Liu <S
net/phy: refactor RTL8211F initialization
RTL8211F needs to enalbe TXDLY for RGMII during phy initialization, so move it to rtl8211f_config for early initialization.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> cc: Joe Hershberger <joe.hershberger@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 5707d5ff | 07-Apr-2015 |
Shengzhou Liu <Shengzhou.Liu@freescale.com> |
net/phy: fixup for get_phy_id
commit 3c6928fd7b0f84 "net: phy: fix warnings with W=1" caused some PHYs(e.g. CS4315/CS4340) not working. This patch fixes the warning and make those special PHYs worki
net/phy: fixup for get_phy_id
commit 3c6928fd7b0f84 "net: phy: fix warnings with W=1" caused some PHYs(e.g. CS4315/CS4340) not working. This patch fixes the warning and make those special PHYs working as well.
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
show more ...
|