From owner-freebsd-current Mon Dec 23 11: 4:20 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B2FA37B401 for ; Mon, 23 Dec 2002 11:04:18 -0800 (PST) Received: from bricore.com (adsl-64-168-71-68.dsl.snfc21.pacbell.net [64.168.71.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id A74FE43EE6 for ; Mon, 23 Dec 2002 11:04:17 -0800 (PST) (envelope-from lchen@briontech.com) Received: from luoqi (luoqi.bricore.com [192.168.1.63]) by bricore.com (8.11.6/8.11.6) with SMTP id gBNJ49p60853; Mon, 23 Dec 2002 11:04:09 -0800 (PST) (envelope-from lchen@briontech.com) From: "Luoqi Chen" To: "Martin Blapp" , "Hiten Pandya" Cc: Subject: RE: SIS 962 chipset, problems ... Date: Mon, 23 Dec 2002 11:07:01 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20021223163940.O854-100000@levais.imp.ch> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Hi, > > > > Dec 23 15:17:03 kernel: sis0: Ethernet address: ff:ff:ff:ff:ff:ff > > > Dec 23 15:17:03 kernel: sis0: MII without any PHY! > > > Dec 23 15:17:03 kernel: device_probe_and_attach: sis0 attach > returned 6 > > > Dec 23 15:17:03 kernel: sis0: port > 0x2000-0x20ff mem > > > 0xec005000-0xec005fff irq 11 at device 4.0 on pci0 > > > Dec 23 15:17:03 kernel: sis0: Ethernet address: ff:ff:ff:ff:ff:ff > > > Dec 23 15:17:03 kernel: sis0: MII without any PHY! > > The linux driver tells me : > > /** > * sis96x_get_mac_addr: - Get MAC address for SiS962 or SiS963 model > * @pci_dev: the sis900 pci device > * @net_dev: the net device to get address for > * > * SiS962 or SiS963 model, use EEPROM to store MAC address. > And EEPROM > * is shared by > * LAN and 1394. When access EEPROM, send EEREQ signal to > hardware first > * and wait for EEGNT. If EEGNT is ON, EEPROM is permitted > to be access > * by LAN, otherwise is not. After MAC address is read from > EEPROM, send > * EEDONE signal to refuse EEPROM access by LAN. > * The EEPROM map of SiS962 or SiS963 is different to SiS900. > * The signature field in SiS962 or SiS963 spec is meaningless. > * MAC address is read into @net_dev->dev_addr. > */ > > So we definitly are missing the support for the SiS 962/963 southbridge. > > Martin > This is just one part of the problem. The other half is PHY couldn't be detected. It seems that sis no longer implementes the enhanced phy control register, and phy has to be directly accessed via mdio. I have a patch (-stable only) for this problem, http://www.freebsd.org/~luoqi/sis.diff . I've also notice some other quirks of the chip our driver should be dealing with. Among them, the multicast address filter and DMA burst size. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message