aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dwc/if_dwc.h
Commit message (Collapse)AuthorAgeFilesLines
* if_dwc: Honor snps,pbl propertyEmmanuel Vadot2020-12-031-1/+1
| | | | | | | | | | | | DTS node can have this property which configure the burst length for both TX and RX if it's the same. This unbreak if_dwc on Allwinner A20 and possibly other boards that uses this prop. Reported by: qroxana <qroxana@mail.ru> Notes: svn path=/head/; revision=368299
* if_dwc: Correctly configure the DMA engine based on the fdt propertiesEmmanuel Vadot2020-11-221-0/+2
| | | | | | | | | | Do not hardcode what we setup for the DMA engine configuration but lookup the fdt properties and configuring accordingly. Use a default value of 8 for the burst dma length for both TX and RX, this is what we used for TX before. Notes: svn path=/head/; revision=367940
* if_dwc: Add flow control supportEmmanuel Vadot2020-11-201-0/+4
| | | | Notes: svn path=/head/; revision=367887
* Improve Rockchip's integration of if_dwcOleksandr Tymoshenko2020-08-101-0/+4
| | | | | | | | | | | | | - Do not rely on U-Boot for clocks configuration, enable and set frequencies in the driver's attach method. - Adjust MAC settings according to detected linespeed on RK3399 and RK3328. - Add support for RMII PHY mode on RK3328. Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D26006 Notes: svn path=/head/; revision=364088
* Finish renaming in if_dwc.Michal Meloun2020-06-191-2/+3
| | | | | | | | | | | | By using DWC TRM terminology, normal descriptor format should be named extended and alternate descriptor format should be named normal. Should not been functional change. MFC after: 4 weeks Notes: svn path=/head/; revision=362405
* Fix an issue with multicast hash filters on Amlogic and Allwinner boards.Jared McNeill2016-06-121-0/+2
| | | | | | | | | | | | For DWC_GMAC_ALT_DESC implementations, the multicast hash table has only 64 entries. Instead of 8 registers starting at 0x500, a pair of registers at 0x08 and 0x0c are used instead. Approved by: re (hrs) Submitted by: Guy Yur <guyyur@gmail.com> Notes: svn path=/head/; revision=301841
* Fix the build by adding the alternate descriptors and MII clock defines.Luiz Otavio O Souza2015-09-201-0/+28
| | | | | | | This obviously should be in the last commit. Notes: svn path=/head/; revision=288024
* Use uint32_t consistently to store registers values.Luiz Otavio O Souza2015-07-061-1/+1
| | | | | | | | | | | Always use unsigned numbers to avoid undefined behavior on (1 << 31). Remove unused variables and some stray semicolons. No functional changes. Notes: svn path=/head/; revision=285209
* Add driver for Synopsys DesignWare 3504-0 Universal 10/100/1000Ruslan Bukin2014-09-251-0/+262
Ethernet MAC. Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=272120