Revise MDIO driver code so that device instances can be attached
authorvisa <visa@openbsd.org>
Tue, 2 May 2017 13:26:49 +0000 (13:26 +0000)
committervisa <visa@openbsd.org>
Tue, 2 May 2017 13:26:49 +0000 (13:26 +0000)
commitae667e95e2c8da10fc7cf5b4e4725ede3b148c31
tree2b68551b85e88712e073de23d8cf4328cdda2c81
parent74d689df2728259864170bce9049ead9e5ae7c17
Revise MDIO driver code so that device instances can be attached
using fdt. This lets the system utilize multiple MDIO controllers.

This patch enables all RJ45 Ethernet ports on EdgeRouter Pro.
The SFP module slots do not work yet.

OK kettenis@, jmatthew@
sys/arch/octeon/conf/GENERIC
sys/arch/octeon/conf/RAMDISK
sys/arch/octeon/conf/files.octeon
sys/arch/octeon/dev/cn30xxgmx.c
sys/arch/octeon/dev/cn30xxgmxvar.h
sys/arch/octeon/dev/cn30xxsmi.c
sys/arch/octeon/dev/cn30xxsmireg.h
sys/arch/octeon/dev/cn30xxsmivar.h
sys/arch/octeon/dev/if_cnmac.c