From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 25 19:20:41 2007 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1F6C16A419 for ; Sun, 25 Nov 2007 19:20:41 +0000 (UTC) (envelope-from me@jdavidleslie.com) Received: from web38013.mail.mud.yahoo.com (web38013.mail.mud.yahoo.com [209.191.124.124]) by mx1.freebsd.org (Postfix) with SMTP id 7344113C448 for ; Sun, 25 Nov 2007 19:20:41 +0000 (UTC) (envelope-from me@jdavidleslie.com) Received: (qmail 44207 invoked by uid 60001); 25 Nov 2007 18:53:59 -0000 X-YMail-OSG: IwpsnuQVM1ln05EKS1yoDKYtGe0XYZF3yQxR.Z58baIvYzQPfFS_NWVzZxmO4s_JOOv5f2.QoA-- Received: from [66.31.44.177] by web38013.mail.mud.yahoo.com via HTTP; Sun, 25 Nov 2007 10:53:59 PST X-RocketYMMF: polygnwnd Date: Sun, 25 Nov 2007 10:53:59 -0800 (PST) From: David Leslie To: Stefan Sperling In-Reply-To: <20071125174204.GT1463@ted.stsp.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <452840.43857.qm@web38013.mail.mud.yahoo.com> X-Mailman-Approved-At: Sun, 25 Nov 2007 20:00:25 +0000 Cc: hackers@freebsd.org Subject: Re: FreeBSD WOL sis on X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: me@jdavidleslie.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 19:20:41 -0000 Appreciate your quick response > The sis driver supports at least two different types > of cards. Yes, among them SiS 900 series NIC. The NIC in question is embedded on the Intel D201GLY/D201GLY2 desktop board (chipset is SiS662 NB + SiS964 SB). The NatSemi DP8381[56] is the only implementation currently supported by FreeBSD for WOL. SiS900 is a different implementation from the NatSemi DP8381[56], though they rely on the same if_sis driver. > What does dmesg print for your card? I have only one > type of NIC the sis driver supports and have only > implemented support for this one... > NatSemi DP8381[56] sis0: port 0x2000-0x20ff mem 0x4a100000-0x4a100fff irq 19 at device 4.0 on pci0 > If the card type isn't a DP83815 or DP83816, this is > a bug. The driver should not let you configure cards > for WOL it has no support for. Agreed, this is not a DP8381[56] NIC. Does not appear to be a (presently) supported NIC for WOL in FreeBSD, so it would be better if the WOL patch did not identify its WOL capabilities and allow the setting of WOL options in this case. Hopefully not a substantial undertaking to correct. Are other cards supported by if_sis similarly affected? Thanks for the troubleshooting info-- can confirm that the adapter appears to be powered in ACPI S5/D3 state after "shutdown -p" from FreeBSD (with "ifconfig sis0 wakeon magic"). The LAN link light is on, and activity light blinks when receiving WOL "magic packets". Linux does support WOL for (at least) this SiS900 NIC (I can verify that it does work on this board), so maybe it will be supported in FreeBSD in the future? Thanks for your help David