Re: [Etherboot-developers] tulip fix...
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ke...@us...> - 2003-01-14 22:31:04
|
>So, the previous change to the tulip driver was one virt_to_le32desc short >:) This makes it work (better) on my tulip based cpu card. > >--- etherboot-5.1.5/src/drivers/net/tulip.c Thu Jan 9 07:37:05 2003 >+++ etherboot-5.1.5-diff/src/drivers/net/tulip.c Thu Jan 9 19:23:24 2003 >@@ -1087,7 +1087,7 @@ > tx_ring[0].status = cpu_to_le32(0x80000000); > > /* Point to transmit descriptor */ >- outl((u32)&tx_ring[0], ioaddr + CSR4); >+ outl(virt_to_le32desc(&tx_ring[0]), ioaddr + CSR4); > > /* Enable Tx */ > outl(csr6 | 0x00002000, ioaddr + CSR6); Great! Thanks for spotting that one. |