From owner-freebsd-questions Thu Jan 2 7:13:47 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F34137B401 for ; Thu, 2 Jan 2003 07:13:42 -0800 (PST) Received: from smtp.comcast.net (smtp.comcast.net [24.153.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD56443EA9 for ; Thu, 2 Jan 2003 07:13:41 -0800 (PST) (envelope-from jshenry@comcast.net) Received: from whitetower (bgp01561290bgs.gambrl01.md.comcast.net [68.50.33.221]) by mtaout03.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.07 (built Nov 25 2002)) with ESMTP id <0H8300KV0E9D7B@mtaout03.icomcast.net> for freebsd-questions@freebsd.org; Thu, 02 Jan 2003 10:12:50 -0500 (EST) Date: Thu, 02 Jan 2003 10:12:49 -0500 (EST) From: "J. Seth Henry" Subject: Problem with AMD AM79C978 (PCNet32/Home - HomeHPNA) and external PHY X-X-Sender: jshenry@whitetower.gambrl01.md.comcast.net To: freebsd-questions@freebsd.org Message-id: <20030102095717.G57482-100000@whitetower.gambrl01.md.comcast.net> MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have a system with an onboard ethernet controller, the above mentioned PCNet32/Home device. Instead of using the two onboard PHY's, there is an external 10/100 PHY. Both are detected by the kernel, but in the wrong order. As such, the pcn device fails because it can't find any MII PHY's, and a few devices later, finds ukphy0 Here is the dmesg output: root@whitetower.gambrl01.md.comcast.net:/export3/src/sys/compile/xterminal Timecounter "i8254" frequency 1193182 Hz CPU: AMD-K6(tm) 3D processor (267.28-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 Features=0x8021bf AMD Features=0x80000800 real memory = 31457280 (30720K bytes) avail memory = 27189248 (26552K bytes) Preloaded elf kernel "kernel" at 0xc0383000. K6-family MTRR support enabled (2 registers) md0: Malloc disk Using $PIR table, 7 entries at 0xc00fa040 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 10 pci0: (vendor=0x11c1, dev=0x0441) at 4.0 irq 7 pcn0: port 0x1c00-0x1c1f mem 0x41200000-0x4120001f irq 9 at device 5.0 on pci0 pcn0: Ethernet address: 00:01:fa:ff:ac:57 pcn0: MII without any PHY! device_probe_and_attach: pcn0 attach returned 6 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1c60-0x1c6f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1c20-0x1c3f irq 11 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1c40-0x1c5f irq 11 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered aue0: LINKSYS Inc. LINKSYS USB Adapter, rev 1.10/1.01, addr 2 aue0: Ethernet address: 00:04:5a:95:47:aa miibus0: on aue0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x1106, dev=0x3057) at 7.4 pcm0: port 0x1c7c-0x1c7f,0x1c78-0x1c7b,0x1400-0x14ff irq 10 at device 7.5 on pci0 chip1: port 0x1800-0x18ff irq 10 at device 7.6 on pci0 orm0: