]> err.no Git - linux-2.6/commit
[PATCH] spidernet: rework tx queue handling
authorJens Osterkamp <jens@de.ibm.com>
Thu, 13 Jul 2006 09:54:08 +0000 (11:54 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Jul 2006 17:30:12 +0000 (13:30 -0400)
commitbdd01503c3e4e9827df015bc7e440d5498308fdd
treedf479cded65bfcd23bdb2b46ad17f20bb5c8660c
parentee962a5cee5b534666dbfa5e3ec3c633c90c6b1a
[PATCH] spidernet: rework tx queue handling

With this patch TX queue descriptors are not chained per default any more.
The pointer to next descriptor is set only when next descriptor is prepaired
for transfer. Also the mechanism of checking wether Spider is ready has been
changed: it checks not for CARDOWNED flag in status of previous descriptor
but for a TXDMAENABLED flag in Spider's register.

Signed-off-by: Maxim Shchetynin <maxim@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Jens Osterkamp <Jens.Osterkamp@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/spider_net.c
drivers/net/spider_net.h