Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2002 02:58:34 +0900 (JST)
From:      FUJITA Kazutoshi <fujita@soum.co.jp>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: SiS900 attach failed
Message-ID:  <20020627.025834.74679455.fujita@soum.co.jp>
In-Reply-To: <20020613.130343.104087941.fujita@soum.co.jp>
References:  <20020612.033500.74692669.fujita@soum.co.jp> <20020613.130343.104087941.fujita@soum.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
From: FUJITA Kazutoshi <fujita@soum.co.jp>
Subject: Re: SiS900 attach failed
Date: Thu, 13 Jun 2002 13:03:43 +0900 (JST)
Message-ID: <20020613.130343.104087941.fujita@soum.co.jp>

> > I got SiS chipset based PC recently, and install 4-STABLE.
> > 
> > But my SiS900 does not work with GENERIC kernel.
> > 
> > sis0: <SiS 900 10/100BaseTX> port 0xd400-0xd4ff mem 0xdfff9000-0xdfff9fff irq 11 at device 3.0 on pci0
> > sis0: Ethernet address: 00:07:95:c0:de:e2
> > sis0: MII without any PHY!
> > device_probe_and_attach: sis0 attach returned 6
> 
> additional information.
> 
> the chipset is SiS650(for Pentium4)
> and the embeded NIC works on Linux(RedHat 7.3/kernel 2.4.18)
> 
> sis900.c: v1.08.03 2/1/2002
> PCI: Assigned IRQ 11 for device 00:03.0
> eth0: Realtek RTL8201 PHY transceiver found at address 1.
> eth0: Using transceiver found at address 1 as default
> eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 11, 00:07:95:c0:de:e2.
> eth0: Media Link On 100mbps full-duplex 
> 
> (Linux driver says PHY is on address 1.)
> 
> sis_miibus_readreg() returns always 0 in mii_phy_probe()

I compared the drivers between FreeBSD and Linux.

In FreeBSD, the driver use ENPHY(Enhanced PHY Access) register
to access to the PHY.
But in Linux, the driver use EEPROM(serial io).

I don't know why, but the ENPHY register does not work well
in the SiS650 chipset environment, maybe.


TIA

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020627.025834.74679455.fujita>