[U-Boot] [PATCH v10 10/28] net: add support for bcm6348-enet

Daniel Schwierzeck
2018-11-30T16:54:40Z

Am 29.11.18 um 23:25 schrieb Álvaro Fernández Rojas:
> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
> ---
> v10: Introduce changes suggested by Daniel Schwierzeck:
> - Fix license identifiers.
> - Remove packet queue.
> - Move dma_prepare_rcv_buf to free_pkt.
> - Switch to live DM live tree.
> v9: use dma_prepare_rcv_buf and remove dma rx channel reset:
> - bcm6348_eth_recv: clear dirty dma descriptors only when packets are copied
> from rx dma.
> - bcm6348_eth_send: remove dma rx channel reset when sending packet.
> v8: Introduce changes from Grygorii Strashko
> v5: Receive as much packets as possible from bcm6348-eth and cache them in
> net_rx_packets. This is needed in order to fix flow control issues.
> v4: Fix issues reported by Grygorii Strashko and other fixes:
> - Copy received dma buffer to net_rx_packets in order to avoid possible
> dma overwrites.
> - Reset dma rx channel when sending a new packet to prevent flow control
> issues.
> - Fix packet casting on bcm6348_eth_recv/send.
> v3: no changes
> v2: select DMA_CHANNELS.
>
> drivers/net/Kconfig | 10 +
> drivers/net/Makefile | 1 +
> drivers/net/bcm6348-eth.c | 537 +++++++++++++++++++++++++++++++++++++++++
> include/configs/bmips_common.h | 6 +-
> 4 files changed, 553 insertions(+), 1 deletion(-)
> create mode 100644 drivers/net/bcm6348-eth.c
>

Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>

--
- Daniel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20181130/0183de2e/attachment.sig>