]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mdio-bcm-unimac: Allow specifying platform data
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 31 Jul 2017 19:04:25 +0000 (12:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jul 2017 21:40:58 +0000 (14:40 -0700)
commit7da57ceeafa421f243b5dc5031c2ddd067f4e211
tree47d87274ab2d2658febf12073c6c6e6697119045
parenteb230907173b182c8fcfa294192069a4db5cf4cb
net: phy: mdio-bcm-unimac: Allow specifying platform data

In preparation for having the bcmgenet driver migrate over the
mdio-bcm-unimac driver, add a platform data structure which allows
passing integrating specific details like bus name, wait function to
complete MDIO operations and PHY mask.

We also define what the platform device name contract is by defining
UNIMAC_MDIO_DRV_NAME and moving it to the platform_data header.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
MAINTAINERS
drivers/net/phy/mdio-bcm-unimac.c
include/linux/platform_data/mdio-bcm-unimac.h [new file with mode: 0644]