9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] etherigbe.c
@ 2005-04-08  0:58 Brantley Coile
  2005-04-08  2:13 ` [9fans] plan9.log arisawa
  2005-04-08  3:12 ` [9fans] etherigbe.c jmk
  0 siblings, 2 replies; 3+ messages in thread
From: Brantley Coile @ 2005-04-08  0:58 UTC (permalink / raw)
  To: 9fans

Well, I got the driver working for the 8254[17]GI parts.  I did it by
cloning the driver as etherigbe0.c and removing everything that touched
the phy.  Any references to mii were removed.  It only matches the PCI
DIDs for these two chips and can be linked with the original. 

We're racing to finish a product, so we don't have time, but we will
go back and fixup the old driver to know about the new internal phys.
We have the books on the parts so that won't be a problem.

One question I have, though, is why do I want to touch the phy anyway?
Does anyone have a firm reason, other than the general `that's the way
we've always done it.'

Jim?

  Brantley



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

* [9fans] plan9.log
  2005-04-08  0:58 [9fans] etherigbe.c Brantley Coile
@ 2005-04-08  2:13 ` arisawa
  2005-04-08  3:12 ` [9fans] etherigbe.c jmk
  1 sibling, 0 replies; 3+ messages in thread
From: arisawa @ 2005-04-08  2:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

How to understand 'd' flag in plan9.log ?
for example,

term% cp -x /n/sources/plan9/dist/replica/plan9.log x
term% grep acme.pdf x
1105569811 12923 d sys/doc/acme/acme.pdf - 664 sys sys 1020011999 0
term%

I have believed the 'd' means "delete".
However I have noticed:

term% cp -x /n/sources/plan9/dist/replica/plan9.db y
term% grep acme.pdf y
sys/doc/acme/acme.pdf - 664 sys sys 1020384351 117006
term% ls -l /n/sources/plan9/sys/doc/acme/acme.pdf
--rw-rw-r-- M 84 glenda sys 117006 May  3  2002 
/n/sources/plan9/sys/doc/acme/acme.pdf
-bash$

that is, /sys/doc/acme/acme.pdf in sources exists.

Kenji Arisawa



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

* Re: [9fans] etherigbe.c
  2005-04-08  0:58 [9fans] etherigbe.c Brantley Coile
  2005-04-08  2:13 ` [9fans] plan9.log arisawa
@ 2005-04-08  3:12 ` jmk
  1 sibling, 0 replies; 3+ messages in thread
From: jmk @ 2005-04-08  3:12 UTC (permalink / raw)
  To: 9fans

On Thu Apr  7 21:02:04 EDT 2005, brantley@coraid.com wrote:
> ...
> One question I have, though, is why do I want to touch the phy anyway?
> Does anyone have a firm reason, other than the general `that's the way
> we've always done it.'
> ...

we haven't always done it. in fact, we resisted for a very long time.
the usual reason is that you don't know the state of either the mac or
phy when you boot, so you reset both. sometimes the phy configures
automatically, sometimes not. there are vendor specified registers in
the phy which may need setting. there are bugs in the mac or phy which may
need to be worked around. the phy and mac may be tightly coupled so
the mac doesn't need any tweaking depending on what the phy does, or
they may be more loosely coupled and changes in the phy configuratiuon
(speed, duplex, pause) may require changes in the mac.



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

end of thread, other threads:[~2005-04-08  3:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-08  0:58 [9fans] etherigbe.c Brantley Coile
2005-04-08  2:13 ` [9fans] plan9.log arisawa
2005-04-08  3:12 ` [9fans] etherigbe.c jmk

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).