2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-01-31 05:17:34 +00:00

Fix COMET TxUnderrun issue

This commit is contained in:
Timothy Legge 2005-06-17 20:11:10 +00:00
parent 9dc2515d7e
commit 4184dc5c6a

View File

@ -1703,6 +1703,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;