freebsd-skq/sys/dev/fxp
Pyun YongHyeon a2057a72e9 Introduce Rx mbuf dma tag and use it in Rx path. Previously it used
common mbuf dma tag for both Tx and Rx path but Rx buffer should
have single DMA segment and maximum buffer size of the segment
should be less than MCLBYTES.
fxp(4) also have to check Tx completion status which was updated by
DMA so we need BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE
synchronization in Tx path. Fix all misuse of bus_dmamap_sync(9) in
fxp(4). I guess this change shall fix occasional driver breakage in
PAE environments.

While I'm here add error messages of dma tag/buffer creation and
correct messages.
2009-06-21 06:06:43 +00:00
..
if_fxp.c Introduce Rx mbuf dma tag and use it in Rx path. Previously it used 2009-06-21 06:06:43 +00:00
if_fxpreg.h Add VLAN hardware tag insertion/stripping support. Tx/Rx checksum 2008-12-02 02:30:12 +00:00
if_fxpvar.h Introduce Rx mbuf dma tag and use it in Rx path. Previously it used 2009-06-21 06:06:43 +00:00
rcvbundl.h Add a microcode to implement receive bundling for 82551 chipsets with 2005-04-21 19:34:57 +00:00