]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Wrap the handler and associated code for collecting completed RX
authorMarius Strobl <marius@FreeBSD.org>
Sun, 24 Jul 2005 18:12:31 +0000 (18:12 +0000)
committerMarius Strobl <marius@FreeBSD.org>
Sun, 24 Jul 2005 18:12:31 +0000 (18:12 +0000)
commitc3d5598aa87bc6f604554bceedf6f631152948c1
treeb722e32933e89f24478206373346ca0eb4df7745
parent5a297065042f724b510431646a0c8b13dd230d19
- Wrap the handler and associated code for collecting completed RX
  descriptors that are still marked owned in #ifdef GEM_RINT_TIMEOUT
  instead of #if 0 for convenience.
- Remove stale code and comment about relying on the preset XIF config.
- In case of a watchdog timeout call the init function instead of just
  the start function so the chip is properly reset.

Merge from hme(4):
- Convert to use bus_dmamap_load_mbuf_sg() for loading RX buffers.
- Protect from a duplicate mbuf free panic in case the DMA engine hangs.

Reviewed by: yongari
Tested on: powerpc(grehan), sparc64
MFC after: 1 week
sys/dev/gem/if_gem.c