From owner-freebsd-current@FreeBSD.ORG Fri Dec 26 15:36:26 2003 Return-Path: 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 C4D3F16A4CE for ; Fri, 26 Dec 2003 15:36:26 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 43F1943D55 for ; Fri, 26 Dec 2003 15:36:23 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 95027 invoked by uid 1002); 26 Dec 2003 23:36:22 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 26 Dec 2003 23:36:22 -0000 Message-ID: <3FECC59E.2030605@freebsd.org> Date: Fri, 26 Dec 2003 16:34:54 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Wolfskill References: <200312262058.hBQKwC5Y019071@bunrab.catwhisker.org> In-Reply-To: <200312262058.hBQKwC5Y019071@bunrab.catwhisker.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: current@freebsd.org Subject: Re: "no driver attached" for Realtek 8129-based NIC X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 23:36:26 -0000 David Wolfskill wrote: > Ugh. Looks as if my cut/paste of the console output ran across a lone > '.' and somewhat truncated the output; worse, the next stuff was > interpreted as Cc: addresses. Sorry about that.... :-( > > The console output that was dropped was not relevant to the problem, > so I'll not bother with it further. > > I will point out that the kernel does still have the "rl" device; it > also has the "re" device defined. So rev 1.118 of sys/pci/if_rl.c is what breaks your configuration? You can't back that change out, but if you '#if 0' the test that changed in that rev (checking hwrev for certain values), does it make a difference? If it does, you and Bill Paul will have to get together and figure out if the test is correct. Possibilities include either the test being wrong, or the re(4) driver needing to be modified to recognise your card. Also, the PCI database contained in pciconf is completely separate from the drivers that are in the kernel. There is absolutely no connection between the two. pciconf works by parsing the PCI config space itself and matching the data that it finds to entries in it's database. There is nothing odd about what you are seeing; there are probably hundreds of devices that pciconf can identify but have no correspinding driver in FreeBSD at all. The same applies to the PCI configuration code in the kernel. Parsing the PCI config space is easy and has no bearing on what drivers may or may not attach to the hardware. Scott