From owner-freebsd-stable Wed Nov 20 4:41: 1 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8D36B37B404; Wed, 20 Nov 2002 04:40:57 -0800 (PST) Received: from tom.chem.tue.nl (tom.chem.tue.nl [131.155.80.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id A89E043E91; Wed, 20 Nov 2002 04:40:56 -0800 (PST) (envelope-from willy@tom.chem.tue.nl) Received: from tom.chem.tue.nl (localhost [127.0.0.1]) by tom.chem.tue.nl (8.12.6/8.12.5) with ESMTP id gAKCetvw081463; Wed, 20 Nov 2002 13:40:55 +0100 (CET) (envelope-from willy@tom.chem.tue.nl) Received: (from willy@localhost) by tom.chem.tue.nl (8.12.6/8.12.6/Submit) id gAKCesd8081462; Wed, 20 Nov 2002 13:40:55 +0100 (CET) Date: Wed, 20 Nov 2002 13:40:54 +0100 From: Willy Offermans To: freebsd-stable@FreeBSD.ORG, FreeBSD-hackers@FreeBSD.ORG, FreeBSD-hardware@FreeBSD.ORG Subject: SiS 900 Ethernet card Message-ID: <20021120124054.GA79330@tom.chem.tue.nl> Reply-To: W.K.Offermans@TUe.nl Mime-Version: 1.0 Content-Type: text/plain; charset=unknown-8bit Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.4i 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 Dear FreeBSD friends, In an email before I reported about a problem with the SiS 900 ethernetcard: > Dear FreeBSD friends, > > I have bought a nice laptop computer (Gericom Masterpiece 25340 XL). > It has an ethernet card inside, based on SiS 900 chip. > During boot, FreeBSD can detect the card, but cannot assign an MAC > address, nor initializing the card. I receive following messages: > > .... > sis0: port 0xf800-0xf8ff mem 0xe8005000-0xe8005fff irq 4 at device 4.0 on pci0 > sis0: Ethernet address: ff:ff:ff:ff:ff:ff > sis0: MII without any PHY! > device_probe_and_attach: sis0 attach returned 6 > .... > > Does anybody know to solve this problem? On that I received two different patches, which could solve the problem. I have attached them to this email: sis.diff from Luoqi Chen and if_sis.patch from Jeff Seeman. if_sis.patch didn't do the job. The message during boot didn't change and moreover I was not able to use the ethernet device. sis.diff did a better a job, but it solved the problem partly. Have a look to the output during boot: ... sis0: port 0xf800-0xf8ff mem 0xe8005000-0xe8005fff irq 5 at device 4.0 on pci0 sis0: Ethernet address: ff:ff:ff:ff:ff:ff miibus0: on sis0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcic0: irq 11 at device 10.0 on pci0 pcic0: PCI Memory allocated: 0x88000000 ... Still the system is not able to retrieve the MAC address from the ethernetcard. Of course I could assign a MAC address manually and work around the problem (ifconfig sis0 lladdr xx:xx:xx:xx:xx:xx), but still it would be nice to have a driver which does a proper job. Is a better patch available? -- Met vriendelijke groeten, With kind regards, Mit freundlichen Grüßen, Willy ************************************* W.K. Offermans Eindhoven University of Technology Department of Chemical Engineering Laboratory of Catalysis (SKA) building ST-W 4.27, PO Box 513 5600 MB Eindhoven, Netherlands Tel: 0(031) 40 247 37 81 Fax: 0(031) 40 247 50 32 Home: 0(031) 45 544 49 99 e-mail: w.k.offermans@tue.nl http://www.catalysis.nl If you are bored playing with Bill Gates' toy, start to work with a real operating system Feel free, feel FreeBSD .... (www.FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message