Fix COMET TxUnderrun issue
authortimlegge <timlegge>
Fri, 17 Jun 2005 20:07:47 +0000 (20:07 +0000)
committertimlegge <timlegge>
Fri, 17 Jun 2005 20:07:47 +0000 (20:07 +0000)
src/drivers/net/tulip.c

index 0d35288..089c7a3 100644 (file)
@@ -1694,6 +1694,8 @@ static void init_media(struct nic *nic)
         outl(0x11000 | inw(ioaddr + 0xa0), ioaddr + 0xa0);
         break;
     case COMET:
+        /* Enable automatic Tx underrun recovery */
+        outl(inl(ioaddr + 0x88) | 1, ioaddr + 0x88);
         tp->if_port = 0;
        tp->csr6 = 0x00040000;
         break;