9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Am97c960 etc.
@ 2002-01-07 12:51 Lucio De Re
  2002-01-08 11:15 ` [9fans] Am79c960 (Was Am97c960 etc.) Lucio De Re
  0 siblings, 1 reply; 2+ messages in thread
From: Lucio De Re @ 2002-01-07 12:51 UTC (permalink / raw)
  To: 9fans mailing list

First of all, hearty thanks to forsyth for his help getting a device
driver going for the PCnet-ISA controller.

I have only played with the boot/pc version, and I only know that it
initialises without panic, but I'm a lot more confident of being able
to use it now.

I did go to a lot of trouble to make "etherpcnet.c" as general as
possible, but I can only test it for the 97c960 as I have no access to
any other controller (I suppose I can try the VMware emulation, but
that strikes me as asking for trouble).  If anyone is interested, I'll
clean up the code a bit and then post the driver on my web site.

I really would like some review (it's a merge of a driver from forsyth
and the release version) before I tackle the 9/pc alternative and then
have to duplicate all the error corrections :-)  Mail me if you'd
prefer a copy by e-mail.

One item I have not understood at all in my quest for information is
Plan 9's use of bounce buffers when using DMA in a 24-bit environment.
Could someone familiar with this topic point me to the pertinent
information or source code?

++L


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] Am79c960 (Was Am97c960 etc.)
  2002-01-07 12:51 [9fans] Am97c960 etc Lucio De Re
@ 2002-01-08 11:15 ` Lucio De Re
  0 siblings, 0 replies; 2+ messages in thread
From: Lucio De Re @ 2002-01-08 11:15 UTC (permalink / raw)
  To: 9fans mailing list

On Mon, Jan 07, 2002 at 02:51:31PM +0200, Lucio De Re wrote:
>
> First of all, hearty thanks to forsyth for his help getting a device
> driver going for the PCnet-ISA controller.
>
I copied more than my fair share out of Charles' efforts.  More
thanks :-)

> I have only played with the boot/pc version, and I only know that it
> initialises without panic, but I'm a lot more confident of being able
> to use it now.
>
I have managed to load and (partially) boot an Inferno kernel (was the
speediest thing to do - tested BOOTP and TFTP in one operation) with
the driver, so I think I have the rough idea right.  It needs a lot of
cleaning p, but should be ready today after some cleaning up.

> I did go to a lot of trouble to make "etherpcnet.c" as general as
> possible, but I can only test it for the 97c960 as I have no access to
> any other controller (I suppose I can try the VMware emulation, but
> that strikes me as asking for trouble).  If anyone is interested, I'll
> clean up the code a bit and then post the driver on my web site.
>
Really got hooked on that 97c didn't I?  It's a 79c960 I'm working
with.  I can't test the other controllers, but guinea pigs and/or
sample hardware are encouraged to come forth.

> I really would like some review (it's a merge of a driver from forsyth
> and the release version) before I tackle the 9/pc alternative and then
> have to duplicate all the error corrections :-)  Mail me if you'd
> prefer a copy by e-mail.
>
Well, seeing as I've reached a milestone, I'll go ahead with the
second phase of a 9/pc driver and I don't think I'll need any bounce
buffers or DMA complications at this stage.  Maybe once the tidying
up is underway I'll try to generalise the DMA setup operation: at
least detect conflicts.

++L


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-08 11:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-07 12:51 [9fans] Am97c960 etc Lucio De Re
2002-01-08 11:15 ` [9fans] Am79c960 (Was Am97c960 etc.) Lucio De Re

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).