From owner-freebsd-stable Wed Jun 26 10:58:45 2002 Delivered-To: freebsd-stable@freebsd.org Received: from gate.soum.co.jp (gate.soum.co.jp [202.221.40.2]) by hub.freebsd.org (Postfix) with ESMTP id AD6B537B401 for ; Wed, 26 Jun 2002 10:58:37 -0700 (PDT) Received: from force.soum.co.jp (force.soum.co.jp [IPv6:3ffe:501:80a:1:a00:20ff:fef0:4c9c]) by gate.soum.co.jp (8.12.4/8.12.4) with ESMTP id g5QHwaxr077369 for ; Thu, 27 Jun 2002 02:58:36 +0900 (JST) (envelope-from fujita@soum.co.jp) Received: from vanilla.soum.co.jp (vanilla.soum.co.jp [3ffe:501:80a:1:202:b3ff:fe98:8115]) by force.soum.co.jp (8.11.6/3.7W-2001122804) with ESMTP id g5QHwZM14855; Thu, 27 Jun 2002 02:58:35 +0900 (JST) Received: from localhost (localhost [::1]) by vanilla.soum.co.jp (Postfix) with ESMTP id 91FE055C4; Thu, 27 Jun 2002 02:58:34 +0900 (JST) Date: Thu, 27 Jun 2002 02:58:34 +0900 (JST) Message-Id: <20020627.025834.74679455.fujita@soum.co.jp> To: freebsd-stable@FreeBSD.ORG Subject: Re: SiS900 attach failed From: FUJITA Kazutoshi 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> X-PGP-PublicKey: http://www.soum.co.jp/~fujita/fujita-GnuPG-publickey.txt X-PGP-FingerPrint: 9956 2ECE 7E7D B425 EC2D D49E FEBB 3C5F 2C34 1ECA Organization: SOUM Corporation, JAPAN X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 =?iso-2022-jp?B?KBskQjgtTFobKEIp?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG From: FUJITA Kazutoshi 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: 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