From owner-freebsd-current@FreeBSD.ORG Sun May 9 08:35:36 2004 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 90F9C16A4CF for ; Sun, 9 May 2004 08:35:36 -0700 (PDT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F86543D39 for ; Sun, 9 May 2004 08:35:35 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i486IwOd031512; Sat, 8 May 2004 00:18:58 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 08 May 2004 00:19:44 -0600 (MDT) Message-Id: <20040508.001944.35015896.imp@bsdimp.com> To: toomany@toomany.net From: "M. Warner Losh" In-Reply-To: <1083945436.70731.4.camel@toomany.toomany.net> References: <1083941740.70731.1.camel@toomany.toomany.net> <20040507.085955.39156755.imp@bsdimp.com> <1083945436.70731.4.camel@toomany.toomany.net> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable cc: freebsd-current@freebsd.org Subject: Re: Don't recognizes Realtek 8139 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: Sun, 09 May 2004 15:35:36 -0000 In message: <1083945436.70731.4.camel@toomany.toomany.net> TooManySecrets writes: : El vie, 07-05-2004 a las 16:59, M. Warner Losh escribi=F3: : > In message: <1083941740.70731.1.camel@toomany.toomany.net> : > TooManySecrets writes: : > : El vie, 07-05-2004 a las 16:16, M. Warner Losh escribi=F3: : > : > What does pciconf -r pci0:7:0 0:0xff tell you? : > : = : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > : ffffffff ffffffff ffffffff ffffffff : > = : > OK. So FreeBSD is definitely not seeing this device at all. Yet t= he : > listing from Linux clearly shows that the device is there. : = : Aham... And now? Can I help you? Sorry for the "printf" suggestion, b= ut : my C level is so poor... :-/ OK. I've taken a look. I'm thinking that there may be an issue with the i386 config register reading. src/sys/i386/pci/pci_cfgreg.c, look at pcireg_cfg{read,write} may be in error. you might try switching the inb/inw/outb/outw to inl/outl with masking. It likely won't matter, but it is worth a shot. Warner