From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 06:12:45 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ED8B16A4CE for ; Wed, 23 Feb 2005 06:12:45 +0000 (GMT) Received: from falcon.loomes.de (smtp.loomes.de [212.40.161.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 35C7143D53 for ; Wed, 23 Feb 2005 06:12:45 +0000 (GMT) (envelope-from markus@trippelsdorf.de) Received: from port-212-202-34-139.dynamic.qsc.de ([212.202.34.139] helo=[192.68.0.2]) by falcon.loomes.de with asmtp (Exim 4.30) id 1D3plL-0007XM-0M; Wed, 23 Feb 2005 07:12:43 +0100 From: Markus Trippelsdorf To: Brian Campbell In-Reply-To: <200502230042.j1N0g1q79345@pobox.com> References: <200502230042.j1N0g1q79345@pobox.com> Content-Type: text/plain Date: Wed, 23 Feb 2005 07:12:41 +0100 Message-Id: <1109139161.620.9.camel@bsd.trippelsdorf.de> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit cc: freebsd-net@freebsd.org Subject: Re: skc0: no PHY found X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 06:12:45 -0000 On Tue, 2005-02-22 at 19:42 -0500, Brian Campbell wrote: > >On Sun, 2005-02-20 at 18:07 +0000, Bjoern A. Zeeb wrote: > >> On Sun, 20 Feb 2005, Markus Trippelsdorf wrote: > >> > My build in ethernet card (ASUS A8V mobo) does not work. > >> > (I've tried HEAD, RELENG_5 and RELENG_5_3): > >> > >> Could you please apply the patch at [1] and mail me the results. > > > >OK here is the relevant part of dmesg: > > > >skc0: port 0xb000-0xb0ff mem > >skc0: no PHY found! 6 > >device_attach: sk0 attach returned 6 > > I'm running 4.7 and had the same problem ... my fix was, in > sk_init_yukon(), just after sc is assigned, add: > > sk_win_write_4(sc, SK_GPIO, > (sk_win_read_4(sc, SK_GPIO) | SK_GPIO_DIR9) & ~SK_GPIO_DAT9); Hi Brian, thank you very much. Your patch completely solved the problem. IMHO it should be committed to the tree. __ Markus