pasemi_mac: don't enable rx before there are buffers on the ring
commit36033766533176d61ba15793d8ef219775499c2f
authorOlof Johansson <olof@lixom.net>
Wed, 26 Sep 2007 21:24:42 +0000 (26 16:24 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:53:43 +0000 (10 16:53 -0700)
treeebaebab67a5ff51388b92ca24723b1e324730ebb
parentca7e235f5eb960d83b45cef4384b490672538cd9
pasemi_mac: don't enable rx before there are buffers on the ring

pasemi_mac: don't enable rx before there are buffers on the ring

Reorder initialization of the DMA channels and the interface. Before there
was a time window when the interface was enabled before DMA was enabled.
Also, now there will always be RX buffers available at the time the
MAC interface is enabled, to avoid temporary out-of-buffer errors for the
very first packets (on busy networks).

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c