Revision tags: release/14.0.0 |
|
#
4b7975ec |
| 04-Oct-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
dwc: Remove if_dwc_mac_type
This doesn't represent the mac_type but if the DMA engine support extended descriptors. Read the HW_FEATURE register to learn if the DMA engine supports it.
No functiona
dwc: Remove if_dwc_mac_type
This doesn't represent the mac_type but if the DMA engine support extended descriptors. Read the HW_FEATURE register to learn if the DMA engine supports it.
No functional changes intended.
show more ...
|
#
cef444d0 |
| 04-Oct-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
dwc: Move BUS_MODE_DEFAULT_PBL; in if_dwcvar.h
And rename it to DMA_DEFAULT_PBL, this is the default for all (most ?) dma engine that dwc should support. While here stop including dwc1000_reg.h in i
dwc: Move BUS_MODE_DEFAULT_PBL; in if_dwcvar.h
And rename it to DMA_DEFAULT_PBL, this is the default for all (most ?) dma engine that dwc should support. While here stop including dwc1000_reg.h in if_dwc.c, we don't need it anymore.
No functional changes intended.
show more ...
|
#
5d88a52b |
| 04-Oct-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
dwc: Move dma engine configuration to dwc1000_dma.c
No functional changes intended.
|
#
972adf0f |
| 28-Sep-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
dwc: Split dma functions
Synopsis/Designware controller have multiple dma version, the one included in the driver is the base one. if_awg is one example of a dwc variant that have another DMA contro
dwc: Split dma functions
Synopsis/Designware controller have multiple dma version, the one included in the driver is the base one. if_awg is one example of a dwc variant that have another DMA controller. eqos is a newer variant of dwc that have a newer dma controller. In the goal to support all of those in the same base driver start splitting the dma function to a new file.
No functional changes intended.
show more ...
|
#
9e3879fc |
| 26-Sep-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
dwc: Drop 'All rights reserved'
Discussed with: br
|
#
50059a60 |
| 23-Sep-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
dwc: Rewrite clock and reset functions
snps,dwmac have one required clock named stmmaceth and one optional pclk, correctly handle both in if_dwc, no need to get/enable stmmacseth again in if_dwc_rk.
dwc: Rewrite clock and reset functions
snps,dwmac have one required clock named stmmaceth and one optional pclk, correctly handle both in if_dwc, no need to get/enable stmmacseth again in if_dwc_rk. It also have one required reset also named stmmaceth and one optional ahb, correctly handle both. Rockchip have another optional clock named clk_mac_speed, get it and enable it if present. Also fix the optional RMII clocks, they were previously wrongly enabled in RGMII case.
show more ...
|
#
f114aadd |
| 23-Sep-2023 |
Emmanuel Vadot <manu@FreeBSD.org> |
dwc: Rename dwc_reset to dwc_reset_phy
It only deals with reseting the phy. While here avoid calling ofw_bus_get_node again and save the node in softc.
|
#
95ee2897 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
2fd90327 |
| 04-May-2023 |
John Baldwin <jhb@FreeBSD.org> |
dwc(4): Use bool rather than boolean_t.
This was already using true/false rather than TRUE/FALSE.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39925
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
068f2c0e |
| 20-Aug-2022 |
Justin Hibbits <jhibbits@FreeBSD.org> |
Mechanically convert dwc(4) to IfAPI
Reviewed by: manu (older) Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D37846
|
Revision tags: release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
e5232621 |
| 23-Dec-2020 |
Oleksandr Tymoshenko <gonzo@bluezbox.com> |
[if_dwc] add support for multi-descriptor packets in TX path
Original if_dwc driver used m_defrag as an implementation shortcut but on 1000Mb networks it affects performance. Implement multi-descrip
[if_dwc] add support for multi-descriptor packets in TX path
Original if_dwc driver used m_defrag as an implementation shortcut but on 1000Mb networks it affects performance. Implement multi-descriptor support for TX path.
Tested on RK3399-Firefly, patch adds ~15% of network throughput.
Reviewed By: manu Differential Revision: https://reviews.freebsd.org/D27520
show more ...
|
Revision tags: release/12.2.0 |
|
#
de6fc2e3 |
| 15-Aug-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r364082 through r364250.
|
#
440cec3f |
| 12-Aug-2020 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: Rubicon Communications, LLC (netgate.com)
|
#
824cfb47 |
| 10-Aug-2020 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Improve Rockchip's integration of if_dwc
- 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 l
Improve Rockchip's integration of if_dwc
- 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
show more ...
|
#
b72e2878 |
| 19-Jun-2020 |
Michal Meloun <mmel@FreeBSD.org> |
Improve if_dwc: - refactorize packet receive path. Make sure that we don't leak mbufs and/or that we don't create holes in RX descriptor ring - slightly simplify handling with TX descriptors
MF
Improve if_dwc: - refactorize packet receive path. Make sure that we don't leak mbufs and/or that we don't create holes in RX descriptor ring - slightly simplify handling with TX descriptors
MFC after: 4 weeks
show more ...
|
Revision tags: release/11.4.0 |
|
#
7ed7d979 |
| 29-Apr-2020 |
Michal Meloun <mmel@FreeBSD.org> |
Fix style(9). Strip write only variables. Not a functional change.
MFC after: 1 week
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0 |
|
#
e7502187 |
| 29-Apr-2016 |
Jared McNeill <jmcneill@FreeBSD.org> |
Set txbuf_map array size to TX_DESC_COUNT instead of RX_DESC_COUNT.
|
Revision tags: release/10.3.0 |
|
#
11d38a57 |
| 28-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
Sponsored by: Gandi.net
|
#
becbad1f |
| 13-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
5a2b666c |
| 01-Oct-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
0f405ee7 |
| 28-Sep-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Sync up with head (up to r288341).
|
#
ae2d96ab |
| 20-Sep-2015 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r287878 through r288034.
|
#
5df53927 |
| 20-Sep-2015 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
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 typ
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
show more ...
|