freebsd-skq/sys/dev/gem
marius c7bbea9e52 Correct r223648; as gem_init_locked() was calling gem_setladrf(), which
sets GEM_MAC_RX_CONFIG based on sc_mac_rxcfg which in turn is initialized
to zero, before reading the supposedly default configuration we were
effectively not basing sc_mac_rxcfg and thus GEM_MAC_RX_CONFIG on the
default configuration. Solve this by calling gem_setladrf() after reading
in the default configuration of GEM_MAC_RX_CONFIG. This also avoids the
need to distinguish whether gem_setladrf() should enable the RX MAC again
and should be slightly more correct as we're now doing all of the RX MAC
configuration in the intended step.
2011-07-12 13:06:44 +00:00
..
if_gem_pci.c According to the OpenSolaris source the PCI latency and the cache line size 2011-07-12 08:20:15 +00:00
if_gem_sbus.c Merge r207585 from cas(4): 2010-09-16 09:29:48 +00:00
if_gem.c Correct r223648; as gem_init_locked() was calling gem_setladrf(), which 2011-07-12 13:06:44 +00:00
if_gemreg.h According to the OpenSolaris source the PCI latency and the cache line size 2011-07-12 08:20:15 +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