CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2019/02/06 15:59:06

Modified files:
        sys/dev/fdt    : if_fec.c 

Log message:
Rework fec(4).  I have written this driver in 2012 as my first ever
ethernet controller driver.  Handling of descriptors and buffers has
not been great.  There was no way to recover from a full tx queue.
This introduces a mechanism akin to dwxe(4) and tsec(4) and fixes
that.  On rd we now map mbufs directly.  On tx we can do that as
well for newer SoCs.  The i.MX6 Q/DL generation still needs a bounce
buffer on tx for proper alignment.

Tested with bluhm on Cubox-i (armv7) and Hummingboard Pulse (arm64)

Reply via email to