Re: [patch] 3c59x.c

From: Andrew Morton (andrewm@uow.edu.au)
Date: Sat Sep 09 2000 - 03:04:56 EST


Alex Romosan wrote:
>
> Andrew Morton <andrewm@uow.edu.au> writes:
>
> > you should upgrade to pcmcia-cs-3.1.20. That release
> > has these things fixed and the 3com driver will be
> > significantly better.
>
> i finally got a chance to upgrade to pcmcia-cs-3.1.20 but my card
> still locks up with (i think) the same message:

David's latest driver set is at
ftp://projects.sourceforge.net/pub/pcmcia-cs/NEW/, but it doesn't have
any changes against pcmcia-cs-3.1.20 which will help here.

Please try this with your 3CCFE575BT. Quick test: go to another machine
and run

        ping -f -s 50000 name_of_3com_machine

--- 3c575_cb.c.orig Sat Sep 9 18:56:29 2000
+++ 3c575_cb.c Sat Sep 9 18:56:20 2000
@@ -1359,7 +1359,7 @@
                 if (tx_status & 0x14) vp->stats.tx_fifo_errors++;
                 if (tx_status & 0x38) vp->stats.tx_aborted_errors++;
                 outb(0, ioaddr + TxStatus);
- if ((tx_status & 0x08) && (vp->drv_flags & IS_TORNADO))
+ if ((tx_status & 0x08) && (vp->drv_flags & (IS_TORNADO|IS_CYCLONE)))
                         wait_for_completion(dev, TxReset | 0x0108);
                 if (tx_status & 0x30)
                         do_tx_reset = 1;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:11 EST