From owner-freebsd-net@FreeBSD.ORG Wed Feb 23 00:42:40 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 EB4D316A4CE for ; Wed, 23 Feb 2005 00:42:40 +0000 (GMT) Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F07943D46 for ; Wed, 23 Feb 2005 00:42:38 +0000 (GMT) (envelope-from brianc@pobox.com) Received: from pobox.com ([207.236.110.117]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050223004237.SVID2026.tomts5-srv.bellnexxia.net@pobox.com> for ; Tue, 22 Feb 2005 19:42:37 -0500 Received: (from brianc@localhost) by pobox.com (8.11.6/8.11.6) id j1N0g1q79345; Tue, 22 Feb 2005 19:42:01 -0500 (EST) (envelope-from brianc) Date: Tue, 22 Feb 2005 19:42:01 -0500 (EST) Message-Id: <200502230042.j1N0g1q79345@pobox.com> To: freebsd-net@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-URL: http://lists.freebsd.org/pipermail/freebsd-net/2005-February/006514.html X-Mailer: Lynx, Version 2.8.5dev.2 X-Personal_Name: : Brian Campbell From: Brian Campbell Subject: 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 00:42:41 -0000 >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 >0xfbc00000-0xfbc03fff irq 17 at device 10.0 on pci0 >skc0: Reserved 0x4000 bytes for rid 0x10 type 3 at 0xfbc00000 >skc0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter >skc0: PN: Yukon 88E8001 >skc0: EC: Rev. 1.3 >skc0: MN: Marvell >skc0: SN: AbCdEfG334454 >skc0: type = YUKON >skc0: SK_EPROM0 = 0x10 >skc0: SRAM size = 0x010000 >skc0: chip ver 0xb1 >skc0: chip conf 0x73 >sk0: on skc0 >sk0: Ethernet address: 00:11:2f:88:07:42 >sk0: [/usr/src/sys/dev/mii/mii.c:mii_phy_probe:342] ENXIO >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);