]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: xilinx: Use mdio_register_seq() to support multiple instances
authorMichal Simek <michal.simek@xilinx.com>
Thu, 8 Dec 2016 09:25:44 +0000 (10:25 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 Dec 2016 09:34:42 +0000 (10:34 +0100)
commitb63cb3abbc626dc918828f302bd8ea72e7c226d2
tree998699542070c23f07bd5f573f0d7c91df6bb5ad
parentf1a88cf6af6c474bcf53f8f2f32aea3af5419e7a
net: xilinx: Use mdio_register_seq() to support multiple instances

axi_emac, emaclite and gem have the same issue with registering
multiple instances with mdio busses. mdio bus name has to be uniq but
drivers are setting up only one name for all.
Use mdio_register_seq() and pass dev->seq number to allow multiple
mdio instances registration.

Reported-by: Phani Kiran Kara <phanikiran.kara@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Series-to: u-boot
Series-cc: Phani Kiran Kara <phanikiran.kara@gmail.com>
drivers/net/xilinx_axi_emac.c
drivers/net/xilinx_emaclite.c
drivers/net/zynq_gem.c