For some reason the RTL8211E PHY on the Banana Pi responds to both address 0
authorkettenis <kettenis@openbsd.org>
Mon, 15 Aug 2016 18:31:28 +0000 (18:31 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 15 Aug 2016 18:31:28 +0000 (18:31 +0000)
commite1ded2579f7776f7887f8c1e977d1901a3201e40
treea046af27eea23322d07d66e48d7c9232bc1b40b6
parent1656321ca67b9822e85d2239d117730b80d53c1c
For some reason the RTL8211E PHY on the Banana Pi responds to both address 0
and 1.  As a result rgephy(4) attaches twice.  Prevent this from happening
by passing the PHY address, which is part of the device tree, down from the
bus-specific glue to the generic driver code.
sys/arch/armv7/sunxi/if_dwge_fdt.c
sys/dev/ic/dwc_gmac.c
sys/dev/ic/dwc_gmac_var.h