freebsd-src/sys/dev/bce
Marius Strobl 5f8c010fd9 - Do supply arguments as pointers to bce_get_{pg,rx}_buf() that are not
altered or actually needed there any longer.
- Honor errors passed to the DMA mapping callbacks.
- In bce_get_rx_buf(), do not reserve stack space for more DMA segments
  than actually necessary.
- In bce_get_pg_buf(), take advantage of bus_dmamap_load_mbuf_sg(9).
- In bce_rx_intr(), remove a pointless check for an empty mbuf pointer
  which can only happen in case of a severe programming error. Moreover,
  recovering from that situation would require way more actions with header
  splitting enabled (which it is by default).
- Fix VLAN tagging in the RX path; do not attach the VLAN tag twice if the
  firmware has been told to keep it. [1]

Obtained from:	OpenBSD [1]
MFC after:	1 week
2013-05-30 17:24:36 +00:00
..
if_bce.c - Do supply arguments as pointers to bce_get_{pg,rx}_buf() that are not 2013-05-30 17:24:36 +00:00
if_bcefw.h - As a follow-up to r247565, make firmware images that do not require 2013-05-30 16:09:56 +00:00
if_bcereg.h - As a follow-up to r247565, make firmware images that do not require 2013-05-30 16:09:56 +00:00