9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: philipp@riseup.net, 9fans@cse.psu.edu
Subject: Re: [9fans] Problems with igbe
Date: Sat, 24 Nov 2007 16:27:13 -0500	[thread overview]
Message-ID: <387fc11165b4ddc4b93a8d7e64e1712b@quanstro.net> (raw)
In-Reply-To: <20071124162501.GA4476@localdomain>

the datasheet for this part says that the eeprom checksum
for this part must be 0xbaba.  its calculated at the end of
/sys/src/9/pc/etherigbe.c:^/at93c46r.

the reason for two bad checksum messages is likely that you
have a two port card.  both ports share the same eeprom.
if this is true, you may need to change :1775 from
	if ((ctlr->id == i82546gb || ctlr->id == i82546eb) &&
to
	if ((ctlr->id == i82546gb || ctlr->id == i82546eb || ctlr->id == i82547ei) &&
(this isn't really the correct test, but i don't have the datasheet
for the 82547 handy.  close enough.)

it is possible that the eeprom does have an invalid signature
but will still work.  you can attempt this by commenting out
/sys/src/9/pc/etherigbe.c:1767.

- erik


  reply	other threads:[~2007-11-24 21:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-24 16:25 Philipp
2007-11-24 21:27 ` erik quanstrom [this message]
     [not found] ` <a9a2c5cdd51a6e4de496f3531b7b86f3@quanstro.net>
2007-11-24 23:51   ` Philipp
2007-11-25 12:25     ` erik quanstrom
2007-11-25 13:45       ` Philipp
2007-11-25 14:26         ` erik quanstrom

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=387fc11165b4ddc4b93a8d7e64e1712b@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@cse.psu.edu \
    --cc=philipp@riseup.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).