From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans mailing list <9fans@cse.psu.edu> Subject: Re: [9fans] PCNet and other short stories Message-ID: <20020413164608.B19779@cackle.proxima.alt.za> References: <20020413161655.A19779@cackle.proxima.alt.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20020413161655.A19779@cackle.proxima.alt.za>; from Lucio De Re on Sat, Apr 13, 2002 at 04:16:56PM +0200 Date: Sat, 13 Apr 2002 16:46:08 +0200 Topicbox-Message-UUID: 7776d69a-eaca-11e9-9e20-41e7f4b1d025 On Sat, Apr 13, 2002 at 04:16:56PM +0200, Lucio De Re wrote: > > There will be working copies of etherpcnet.c on my web site in the > next hour or so: > The DMA management is a scary hack. It is tempting to not do anything at all, but then one gets very little choice of DMA channels :-) If anyone wants to contribute some intelligence, my knowledge stops at a single controller on the 8088, cascaded DMA chips are a total mystery, specially when the clever engineers at Intel made it impossible to query the chip settings before one chooses to change them. The plan9.ini line I use is ether0=type=PCnet port=0x320 irq=9 dma=6 10BaseT YMMV. I have not included any acknowledgements in the source, which I will correct as soon as I get a chance. The plagiarised parties are the ether79c970.c driver from the Plan 9 distribution and a similar driver (ether79c960.c) from forsyth. Anyone else who feels they deserve acknowledgement, please just let me know :-) ++L PS: I'll concoct an entry for the plan9.ini man page as soon as I have managed a little broader testing.