From owner-freebsd-current Sun Sep 22 15:14:16 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFD1237B401 for ; Sun, 22 Sep 2002 15:14:14 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41FD243E3B for ; Sun, 22 Sep 2002 15:14:09 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.3/8.12.3) with ESMTP id g8MME39R094995; Sun, 22 Sep 2002 16:14:03 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 22 Sep 2002 16:13:50 -0600 (MDT) Message-Id: <20020922.161350.65155345.imp@bsdimp.com> To: mb@imp.ch Cc: mark@grondar.za, current@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci if_dc.c From: "M. Warner Losh" In-Reply-To: References: <200209211104.g8LB4s7s019720@grimreaper.grondar.org> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message: Martin Blapp writes: : : Hi Mark, : : > I have a Netgear FA510 (32-bit CardBus). : > : > cardbus0: Expecting link target, got 0x0 : > cardbus0: Resource not specified in CIS: id=10, size=80 : > cardbus0: Resource not specified in CIS: id=14, size=400 : > dc0: port 0x1000-0x107f mem 0x88002400-0x880027ff irq : > 11 at device 0.0 on cardbus0 : > dc0: Ethernet address: 00:80:00:80:00:80 : > miibus0: on dc0 : > dcphy0: on miibus0 : > dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto : : Can you try this PR patch and see if it helps ? Note that the patch isn't : 100% correct for other cards and will break them. : : http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/35482 OpenBSD gets these cards right. I've not ported their code to our system at this time. I know that the problem is due to our not reading the SEEPROM correctly. I talked to the openbsd folks about this a long time ago, but didn't have the time needed to follow up. There's about 4 cards in my cardbus card collection that fail in this mode. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message