]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add new features - an MDIO clock, WMAC reset, GMAC reset and ethernet
authorAdrian Chadd <adrian@FreeBSD.org>
Tue, 15 Oct 2013 01:35:48 +0000 (01:35 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Tue, 15 Oct 2013 01:35:48 +0000 (01:35 +0000)
commit24184023992f6fe57ab68050f11e5095d4dedd14
treef9beb0f26b1b1f00b96492359d4e0592832e24fe
parent7e57b3ad31ede1c9cc5199847369162bd902677e
Add new features - an MDIO clock, WMAC reset, GMAC reset and ethernet
switch reset/initialise functions.

The AR934x and QC955x SoCs both have a configurable MDIO base clock.
The others have the MDIO clock use the same clock as the system
reference clock, whatever that may be.

Tested:

* AR9344 SoC

TODO:

* mips24k - AR933x would be fine for now, just to ensure that things
  are sane.
sys/mips/atheros/ar71xx_chip.c
sys/mips/atheros/ar71xx_cpudef.h
sys/mips/atheros/ar724x_chip.c
sys/mips/atheros/ar91xx_chip.c