aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/files/drivers/net/ethernet/stmicro/stmmac/dwmac-oxnas.c
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: reboot targetDaniel Golle2018-06-181-145/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reboot the oxnas target based on Linux 4.14 by rebasing our support on top of the now-existing upstream kernel support. This commit brings oxnas support to the level of v4.17 having upstream drivers for Ethernet, Serial and NAND flash. Botch up OpenWrt's local drivers for EHCI, SATA and PCIe based on the new platform code and device-tree. Re-introduce base-files from old oxnas target which works for now but needs further clean-up towards generic board support. Functional issues: * PCIe won't come up (hence no USB3 on Shuttle KD20) * I2C bus of Akitio myCloud device is likely not to work (missing debounce support in new pinctrl driver) Code-style issues: * plla/pllb needs further cleanup -- currently their users are writing into the syscon regmap after acquireling the clk instead of using defined clk_*_*() functions to setup multipliers and dividors. * PCIe phy needs its own little driver. * SATA driver is a monster and should be split into an mfd having a raidctrl regmap, sata controller, sata ports and sata phy. Tested on MitraStar STG-212 aka. Medion Akoya MD86xxx and Shuttle KD20. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (squash-picked commit 17511a7ea8 and commit dcc34574ef from master)
* oxnas: remove support for pre-4.4 kernels from driversDaniel Golle2017-01-041-27/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: revert to kernel 4.1Daniel Golle2016-07-181-0/+27
| | | | | | | | | A bug resulting in the NAND not being detected by newer kernels has kept me sleepless for months and yet I wasn't able to discover the cause. Bring back patches and files for 4.1 until this has been resolved. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: drop compatibility with old kernels from dwmac-oxnasDaniel Golle2016-05-201-27/+0
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: move gmac soc glue from mach to stmmac driverJohn Crispin2015-10-191-0/+172
Still a lot of kernel-version ifdef'ery, but imho that's easy to remove once obsoleted and avoids duplicate code in the meantime. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 47218