SIS900 module detects two transceivers, picks the wrong one
Quoted 10 lines · Cameron Goble
I am having trouble with the SIS900 driver module v1.08.04. The module installs correctly and does not return an error, but ... well...
Perhaps dmesg will explain better:
eth0: AMD79C901 HomePNA PHY transceiver found at address 2.
eth0: AMD79C901 10BASE-T PHY transceiver found at address 3.
eth0: using transceiver found at address 2 as default
eth0: SiS 900 PCI Fast Ethernet at0xec400, IRQ 11, 00:30:67:09:53:81.
Quoted 5 lines
So the network interface is a multi-function device, built onto the motherboard. The driver picks the HomePNA transceiver, but I want to use the 10BASE-T transceiver. Is there an option I can pass, or some code I can edit that force the driver to pick the 10BASE-T transceiver at address 3?
There is no such option, unfortunately. The driver attempts to find a transceiver with a link up, and uses that as a default. If it can't find any, then it defauls to using the HomePNA (type HOME) transceiver.
So you have two choices:
1. make sure the interface is connected to a hub/switch when the driver initializes;
or, if that doesn't work:
2. apply the following patch to the driver:
sis900.c renamed from sis900.c.old +3 -0
@@ -513,6 +513,9 @@u16 mii_status;int i; +if (phy_addr ==2 ) +continue ; + mii_phy =NULL ;for (i =0 ; i <2 ; i++) mii_status =mdio_read (net_dev, phy_addr,MII_STATUS );
It's a crude hack, but it ought to work on your box.
Ion
Signature · 2 lines
It is better to keep your mouth shut and be thought a fool,
than to open it and remove all doubt.