9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: G. David Butler gdb@dbSystems.com
Subject: [9fans] Re: Plan 9 from Bell Labs - Frequently Asked
Date: Wed, 10 Dec 1997 13:58:59 -0600	[thread overview]
Message-ID: <19971210195859.LU65C07XPHdsKjl8D1RjodFQmwyzHdtjBB9_rE1zoYQ@z> (raw)

>>as i mentioned in a previous message i still have problems with the
>>905 so i'm interested in any other experiences with it.
>
>I'm trying to get it to work reliably too.  I don't have the
>right documentation for PCI to know how to set the busmaster bit
>or to set the latency timer as specified by the errata.
>Can you help here?

I think I have that part down now.  After GlobalReset I do a
pcicfgr, set busMaster in command, set latency to 0xff and
do pcicfgw to 0x04 for a length of 12.

Now I get MasterStatus flag masterAbort at every transfer.

For the fun of it, I tried to use the DMA at transmit as well
as receive.  First I PIOd enough data to keep the transmitter
from underrunning then turned on the DMA.  Next, to make sure
the DMA code was sane, I memmoved the packet to a local buffer
with the preamble in front and DMAd the whole thing.  I always
get masterAbort!  I think I would only use the DMA on transmit
for gigabit ethernet though.  Is it possible to get underflow
with PIO at 100mb with current hardware?

So, any ideas about the abort?

David Butler
gdb@dbSystems.com




             reply	other threads:[~1997-12-10 19:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-10 19:58 G.David [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-12-11  2:37 jim
1997-12-10 22:18 G.David
1997-12-10 20:54 jim
1997-12-10 16:50 G.David
1997-12-08 23:51 forsyth
1997-12-08 21:02 forsyth
1997-12-08 20:57 forsyth
1997-12-08 18:08 jim
1997-12-08 16:48 G.David
1997-12-06 16:58 jim
1997-12-06  6:27 Kenji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19971210195859.LU65C07XPHdsKjl8D1RjodFQmwyzHdtjBB9_rE1zoYQ@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).