From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 09:00:11 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 5764916A4CF for ; Wed, 23 Feb 2005 09:00:11 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 784A743D39 for ; Wed, 23 Feb 2005 09:00:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 061E21FF9A6; Wed, 23 Feb 2005 10:00:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id B55051FF90C; Wed, 23 Feb 2005 10:00:05 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 9F9FC1560B; Wed, 23 Feb 2005 08:57:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 8C2F415380; Wed, 23 Feb 2005 08:57:46 +0000 (UTC) Date: Wed, 23 Feb 2005 08:57:46 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Markus Trippelsdorf In-Reply-To: <1109147585.2574.1.camel@bsd.trippelsdorf.de> Message-ID: References: <200502230042.j1N0g1q79345@pobox.com> <1109139161.620.9.camel@bsd.trippelsdorf.de> <1109147585.2574.1.camel@bsd.trippelsdorf.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-net@freebsd.org cc: Brian Campbell 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 09:00:11 -0000 On Wed, 23 Feb 2005, Markus Trippelsdorf wrote: Hi, > On Wed, 2005-02-23 at 07:12 +0100, Markus Trippelsdorf wrote: > > 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. > > This is the patch: At the moment (without a closer look at the source) I am unsure if it can be applied unconditionally but will check this and get it comitted or come up with a followup version for testing. Many thanks. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT