Subject: Re: Ethernet, MII & PHY, round two
To: None <tech-net@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-net
Date: 10/31/2002 16:11:13
-----BEGIN PGP SIGNED MESSAGE-----


>>>>> "Erik" == Erik E Fair <fair@clock.org> writes:
    Erik> fxp0 at pci0 dev 15 function 0: Intel i82557 Ethernet, rev 2
    Erik> fxp0: interrupting at apic 2 int 19 (irq 11)
    Erik> fxp0: Ethernet address 00:a0:c9:6e:b7:0f
    Erik> icsphy0 at fxp0 phy 1: ICS1890 10/100 media interface, rev. 3
    Erik> icsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
    Erik> ukphy0 at fxp0 phy 2: Generic IEEE 802.3u media interface
    Erik> ukphy0: OUI 0xc0b703, model 0x0008, rev. 3
    Erik> ukphy0: 10baseT, 100baseTX, 100baseTX-FDX, auto

...

    Erik> I suggested adding "instance 0" after the "media" statement in his
    Erik> "ifconfig" line in /etc/rc.conf (or /etc/ifconfig.fxp0), but there
    Erik> is another fix we could make: allow twisted-pair PHYs to refuse to
    Erik> be selected when "link" is not present; I believe if I'm reading
    Erik> the code right that there is a testable bit for it. I haven't checked
    Erik> to see if the media change code is allowed to return errors, though.

    Erik> 	comments?

  Only do this test when there are multiple choices.

  In the case above, if the cable wasn't plugged in, then what would occur?
When the cable gets plugged in, would it just work?

]       ON HUMILITY: to err is human. To moo, bovine.           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBPcGcb4qHRg3pndX9AQELEgQA5t6QEVhH+Y6MQRHHB/d8+4Z6kgngltvW
vrccHA/F17HRj1kzzFG9R30EbauZJkCETX+cxvzazWlgZwUawVfQq0Wb0h007EkV
oZdS1DBUuxIU5Llo6WQNSk6xdIJ34zHPtXekH7/40qgM6mWMXwWqY0mioPIHcNxc
+M/73bfAmns=
=fQJX
-----END PGP SIGNATURE-----