1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys/dev/gem
Marius Strobl c0e3e9d4d2 - In gem_reset_rx() also reset the RX MAC which is necessary in order to
get it out of a stuck condition that can be caused by GEM_MAC_RX_OVERFLOW.
- In gem_reset_rxdma() call gem_setladrf() in order to reprogram the RX
  filter and restore the previous content of GEM_MAC_RX_CONFIG. While at it
  consistently use the newly introduced sc_mac_rxcfg throughout the driver
  instead of reading the its old content.
- Increment if_iqdrops instead of if_ierrors in case of RX buffer allocation
  failure.
- According to the GEM datasheet the RX MAC should also be disabled in
  gem_setladrf() before changing its configuration.
- Add error messages to gem_disable_{r,t}x() and take advantage of these
  throughout the driver instead of duplicating their functionality all over
  the place.

In joint forces with:	yongari
2011-06-28 16:16:43 +00:00
..
if_gem_pci.c Merge r207585 from cas(4): 2010-09-16 09:29:48 +00:00
if_gem_sbus.c Merge r207585 from cas(4): 2010-09-16 09:29:48 +00:00
if_gem.c - In gem_reset_rx() also reset the RX MAC which is necessary in order to 2011-06-28 16:16:43 +00:00
if_gemreg.h - Initialize the ifnet structure, especially if_dname, before probing 2009-06-23 20:36:59 +00:00
if_gemvar.h - In gem_reset_rx() also reset the RX MAC which is necessary in order to 2011-06-28 16:16:43 +00:00