Browse Source

Fix COMET TxUnderrun issue

tags/v0.9.3
Timothy Legge 19 years ago
parent
commit
4184dc5c6a
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/drivers/net/tulip.c

+ 2
- 0
src/drivers/net/tulip.c View File

1703
         outl(0x11000 | inw(ioaddr + 0xa0), ioaddr + 0xa0);
1703
         outl(0x11000 | inw(ioaddr + 0xa0), ioaddr + 0xa0);
1704
         break;
1704
         break;
1705
     case COMET:
1705
     case COMET:
1706
+        /* Enable automatic Tx underrun recovery */
1707
+        outl(inl(ioaddr + 0x88) | 1, ioaddr + 0x88);
1706
         tp->if_port = 0;
1708
         tp->if_port = 0;
1707
 	tp->csr6 = 0x00040000;
1709
 	tp->csr6 = 0x00040000;
1708
         break;
1710
         break;

Loading…
Cancel
Save