From owner-freebsd-drivers@FreeBSD.ORG Wed Feb 14 21:43:24 2007 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7403416A400 for ; Wed, 14 Feb 2007 21:43:24 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3471D13C467 for ; Wed, 14 Feb 2007 21:43:24 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id l1ELfJhu089200; Wed, 14 Feb 2007 14:41:19 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 14 Feb 2007 14:41:19 -0700 (MST) Message-Id: <20070214.144119.85323857.imp@bsdimp.com> To: olli@lurza.secnetix.de From: Warner Losh In-Reply-To: <200702142136.l1ELal8p074068@lurza.secnetix.de> References: <20070214.142048.78796550.imp@bsdimp.com> <200702142136.l1ELal8p074068@lurza.secnetix.de> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Wed, 14 Feb 2007 14:41:19 -0700 (MST) Cc: freebsd-drivers@freebsd.org Subject: Re: problem with rl network card X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 21:43:24 -0000 > I see. I thought the drivers would check the vendor ID > and chip ID first, and not do anything with the card if > they don't match. Most drivers do. However, since devices supported by the rl and re drivers have the same vendor/product, but differ in the id presented to the system in the BAR addressed registers, they do special things. > > > However, it seems that the driver cannot alloacte the PCI > > > resources correctly. > > > > This likely means that this card isn't a realtek interface. > > According to the PCI IDs (0x81391904) it's a realtek 8139 > card, or a clone thereof: > > http://pci-ids.ucw.cz/iii/?i=1904 > > But then again, I've never heard about that vendor, so > it might be something alltogether anyway. :-) My digging shows that there's a Linux driver that is separate from the realtek driver. No clue WHY this might be, but it definitely is the case. Further digging is possible, see my other message for details on where to find the Linux driver. Warner