9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Hogan dhog@lore.plan9.cs.su.oz.au
Subject: [9fans] ne2000
Date: Tue, 22 Jul 1997 17:11:46 +1000	[thread overview]
Message-ID: <19970722071146.t2L0TurpiBnJuEveiuRUMPtcxkFfIVSxbTyqUGaasu4@z> (raw)

Well, I have this PnP ethernet card which is supposedly
NE2000 compatible.  Naturally I want everything to
be "Plug and Play", ie once the kernel's recognized the
card (using my PnP support) and configured the irq and io
port, it should know all it needs to know, without any
special stuff in "plan9.ini".

There are two problems.  First, I need to know how much
memory the card has.  It's occured to me that I can
probably get this by using standard memory sizing
techniques.  However, I'd like to know a bit more about
the NE2000 "standard" (ha!), ie: is the RAM base always
at 0x4000?  Is the memory size always limitted to <= 16K?
Is it safe to poke any address, or are there areas
that must be avoided?

Second problem: I need some way to work out whether
dummyrr needs to be set.  Interestingly, leaving this
set for my card causes the machine to spin in dp8390write();
I am writing with "to" == 0x4000 and getting back "crda" == 0x3f00.
I have no idea what it all means, as I have no data sheet/
tech info for this dastardly contraption.




             reply	other threads:[~1997-07-22  7:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-07-22  7:11 David [this message]
1997-07-22 13:22 jmk
1997-07-22 18:48 David
1997-07-22 19:27 beto
1997-07-22 19:32 jmk
1997-07-22 20:26 Mike
1997-07-22 20:29 jmk
1997-07-22 20:50 Paul
1997-07-22 21:10 beto
1997-07-22 21:47 beto
1997-07-22 22:18 jmk
1997-07-22 22:27 beto
1997-07-23  3:11 jmk
2000-03-31  3:33 [9fans] NE2000 Vladimir

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=19970722071146.t2L0TurpiBnJuEveiuRUMPtcxkFfIVSxbTyqUGaasu4@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).