freebsd-dev/sys/dev/dwc
Luiz Otavio O Souza 5df539274f Add alternate descriptors support for if_dwc.
This also adds a newbus interface that allows a SoC to override the
following settings:

 - if_dwc specific SoC initialization;
 - if_dwc descriptor type;
 - if_dwc MII clock.

This seems to be an old version of the hardware descriptors but it is
still in use in a few SoCs (namely Allwinner A20 and Amlogic at least).

Tested on Cubieboard2 and Banana pi.

Tested for regressions on Altera Cyclone by br@ (old version).

Obtained from:	NetBSD
2015-09-20 14:13:29 +00:00
..
if_dwc_if.m Add alternate descriptors support for if_dwc. 2015-09-20 14:13:29 +00:00
if_dwc.c Add alternate descriptors support for if_dwc. 2015-09-20 14:13:29 +00:00
if_dwc.h Use uint32_t consistently to store registers values. 2015-07-06 16:45:48 +00:00
if_dwcvar.h Add alternate descriptors support for if_dwc. 2015-09-20 14:13:29 +00:00