From owner-freebsd-hackers Thu Feb 17 11:53:16 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (Postfix) with ESMTP id 455DC37B7AF for ; Thu, 17 Feb 2000 11:53:08 -0800 (PST) (envelope-from wilko@yedi.iaf.nl) Received: from yedi.iaf.nl (uucp@localhost) by uni4nn.gn.iaf.nl (8.9.2/8.9.2) with UUCP id UAA19073 for FreeBSD-hackers@freebsd.org; Thu, 17 Feb 2000 20:42:04 +0100 (MET) Received: (from wilko@localhost) by yedi.iaf.nl (8.9.3/8.9.3) id UAA02293 for FreeBSD-hackers@freebsd.org; Thu, 17 Feb 2000 20:34:36 +0100 (CET) (envelope-from wilko) Date: Thu, 17 Feb 2000 20:34:36 +0100 From: Wilko Bulte To: FreeBSD hackers list Subject: dc / de device probing Message-ID: <20000217203436.A2199@yedi.iaf.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i X-OS: FreeBSD yedi.iaf.nl 3.4-STABLE FreeBSD 3.4-STABLE X-PGP: finger wilko@freebsd.org Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I recently got this DEC PC which has an 21142 ethernet chip onboard. Using -current's dc driver I get: Feb 17 19:37:39 p6 /kernel: Correcting Natoma config for non-SMP Feb 17 19:37:39 p6 /kernel: dc0: port 0xec00-0xec7f m em 0xfdfffc00-0xfdfffc7f irq 11 at device 3.0 on pci0 Feb 17 19:37:39 p6 /kernel: dc0: Ethernet address: 00:00:f8:75:3c:6a Feb 17 19:37:39 p6 /kernel: miibus0: on dc0 Feb 17 19:37:39 p6 /kernel: dcphy0: on miibus 0 Feb 17 19:37:39 p6 /kernel: dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX- FDX, auto Using the de driver one gets: Feb 17 19:54:17 p6 /kernel: Correcting Natoma config for non-SMP Feb 17 19:54:17 p6 /kernel: de0: port 0xec00-0xec7 f mem 0xfdfffc00-0xfdfffc7f irq 11 at device 3.0 on pci0 Feb 17 19:54:17 p6 /kernel: de0: DEC 21142 [10-100Mb/s] pass 1.1 Feb 17 19:54:17 p6 /kernel: de0: address 00:00:f8:75:3c:6a Feb 17 19:54:17 p6 /kernel: de0: driver is using old-style compatability shims The interesting thing is that the de driver works, the dc does not: Feb 17 19:38:48 p6 login: ROOT LOGIN (root) ON ttyv0 Feb 17 19:39:40 p6 /kernel: dc0: watchdog timeout Feb 17 19:40:02 p6 /kernel: dc0: watchdog timeout The machine has it's 21142 connected to a bulkhead panel with a UTP/10base2 connector. It cannot (unless the panel is swapped for a 100mbit one) do 100mbit UTP. What I wonder: why is the dc driver detecting a 21143 whereas the de sees a 21142 (which is the correct one BTW)? Are the chips not well enough distinguishable from the hardware perspective? Wilko -- Wilko Bulte Arnhem, The Netherlands WWW : http://www.tcja.nl The FreeBSD Project: http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message