Skip to contentSkip to conversation

sis190 driver

PATCH Pascal CHAPPERON 2 participants 2 messages Jul 30, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

Message du 29/07/05 00:13
De : "Francois Romieu" <[email protected]>

[...]

Quoted 1 line

Changes from previous version (20050722)

[...]

Quoted 4 lines

o Minor round of mii/phy related changes. May crash.

Testing reports/review/patches are always appreciated.

sis190-120 compiles, loads but does not work (sis190_init_phy() function).

# service network start
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0... failed; no link present.  Check cable?
                                                           [FAILED]

#dmesg
sis190 Gigabit Ethernet driver 1.2 loaded.
ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:00:04.0 to 64
0000:00:04.0: Read MAC address from APC.
eth0: Unknown PHY transceiver at address 1.
0000:00:04.0: sis190 at ffffc20000004c00 (IRQ: 11), 00:11:2f:e9:42:70
eth0: Enabling Auto-negotiation.

# ethtool eth0
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Current message level: 0x00000037 (55)
        Link detected: no

I reverted to sis190-110, which works well on my box.

--
Pascal

#1 lore raw

Pascal CHAPPERON <[email protected]> :
[...]

Quoted 7 lines

sis190-120 compiles, loads but does not work (sis190_init_phy() function).

# service network start
Bringing up loopback interface:                            [  OK  ]
Bringing up interface eth0:
Determining IP information for eth0... failed; no link present.  Check cable?
                                                           [FAILED]

Thanks, your report/dmesg are welcome.

Lars noticed that the link status is not correctly reported and suggested a few changes. Can you check if the version below works better ?

Single file patch:
http://www.zoreil.com/~romieu/sis190/20050730-2.6.13-rc4-sis190-test.patch

Patch-kit:
http://www.zoreil.com/~romieu/sis190/20050730-2.6.13-rc4/patches

Tarball:
http://www.zoreil.com/~romieu/sis190/20050730-2.6.13-rc4.tar.bz2

If it does not pass the network init, can you issue
- ifconfig eth0 blah, blah by hand
- mii-tool -vvv eth0

I'll send the whole serie of patches to netdev/akpm.

Jeff, do you want that I publish it in some git repo as well ?

--
Ueimor