From: "rob pike, esq." <rob@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] RTL 8139 driver
Date: Sun, 28 Apr 2002 08:54:14 -0400 [thread overview]
Message-ID: <89f6cbca4e61c27f3d6bf448bda411cb@plan9.bell-labs.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 719 bytes --]
Oops. Yes, 'Timer' is now a defined type so can't be used as an
enumerated constant. Looks like we didn't try compiling this
driver recently. I changed 'Timer' to 'Timerbit' and it compiled.
/n/emelieother/plan9//sys/src/9/pc/ether8139.c:76 c /sys/src/9/pc/ether8139.c:76
< Timer = 0x4000, /* Timer */
---
> Timerbit = 0x4000, /* Timer */
/n/emelieother/plan9//sys/src/9/pc/ether8139.c:355 c /sys/src/9/pc/ether8139.c:355
< csr16w(ctlr, Imr, Serr|Timer|Fovw|PunLc|Rxovw|Ter|Tok|Rer|Rok);
---
> csr16w(ctlr, Imr, Serr|Timerbit|Fovw|PunLc|Rxovw|Ter|Tok|Rer|Rok);
/n/emelieother/plan9//sys/src/9/pc/ether8139.c:588 c /sys/src/9/pc/ether8139.c:588
< if(isr & Timer)
---
> if(isr & Timerbit)
[-- Attachment #2: Type: message/rfc822, Size: 1857 bytes --]
From: <plan9@itic.ca>
To: <9fans@cse.psu.edu>
Subject: [9fans] RTL 8139 driver
Date: Sun, 28 Apr 2002 08:36:18 -0500
Message-ID: <FIEDLHOOAEHBJAPIKGJCOECECBAA.plan9@itic.ca>
I wanted to try rtl8139 under r4
I added in plan9.ini
ether0=type=rtl8139
but binding claims that :
no free devices
Then I tried with 3 <> models having RTL8139
same problem...
Finally, I added a line
ether8139 pci
in the /sys/src/9/pc/pcdisk file but now compilation claims that :
8c -FVw ether8139.c
ether8139.c:76 syntax error, last name Timer
Any idea ?
next reply other threads:[~2002-04-28 12:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-28 12:54 rob pike, esq. [this message]
2002-04-28 13:36 plan9
2002-04-28 12:47 ` andrey mirtchovski
2002-04-28 14:41 plan9
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=89f6cbca4e61c27f3d6bf448bda411cb@plan9.bell-labs.com \
--to=rob@plan9.bell-labs.com \
--cc=9fans@cse.psu.edu \
/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).