Browse Source

Spidernet Avoid possible RX chain corruption

Delete possible source of chain corruption; the hardware
already knows the location of the tail, and writing it
again is likely to mess it up.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Cc: James K Lewis <jklewis@us.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Linas Vepstas 19 năm trước cách đây
mục cha
commit
df519ab2c5
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/net/spider_net.c

+ 0 - 1
drivers/net/spider_net.c

@@ -513,7 +513,6 @@ spider_net_alloc_rx_skbs(struct spider_net_card *card)
 	/* This will allocate the rest of the rx buffers;
 	 * if not, it's business as usual later on. */
 	spider_net_refill_rx_chain(card);
-	spider_net_enable_rxchtails(card);
 	spider_net_enable_rxdmac(card);
 	return 0;