From owner-freebsd-drivers@FreeBSD.ORG Thu Feb 15 19:09: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 AEA4D16A402 for ; Thu, 15 Feb 2007 19:09:24 +0000 (UTC) (envelope-from anatoli.marinov@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.239]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0DB13C467 for ; Thu, 15 Feb 2007 19:09:24 +0000 (UTC) (envelope-from anatoli.marinov@gmail.com) Received: by wr-out-0506.google.com with SMTP id 69so912819wra for ; Thu, 15 Feb 2007 11:09:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=JomD+Nx2cVMKQsed5BW5ahSBCi91KVRkWJUk7xdpXvm2g2Qt/S02YYyK9z2bpXs4bgx5eLCCfWcgSpkaPKMz9Q4V2ii+Oa2q9QtECuEzqXlUoawgmtDIrd9X+g3BI2cyYJ1pPpz9v/1+FV6ZkakPlMVhSH0sdecLIlkXNO3Vm1w= Received: by 10.114.75.1 with SMTP id x1mr1385872waa.1171566561976; Thu, 15 Feb 2007 11:09:21 -0800 (PST) Received: by 10.114.134.3 with HTTP; Thu, 15 Feb 2007 11:09:21 -0800 (PST) Message-ID: Date: Thu, 15 Feb 2007 21:09:21 +0200 From: "Anatoli Marinov" To: "Warner Losh" In-Reply-To: MIME-Version: 1.0 References: <200702142114.l1ELEsjf073038@lurza.secnetix.de> <20070214.142048.78796550.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Thu, 15 Feb 2007 19:09:24 -0000 Mates, I have photos. This is the link http://free.bsd-bg.net/NIC/ Definitly the chip is RTL8139D. Is there functional driver for it or not? Toli 2007/2/15, Anatoli Marinov : > > I am going to prepare high resolution photos and will post links there > > 2007/2/14, Warner Losh : > > > > From: Oliver Fromme > > Subject: Re: problem with rl network card > > Date: Wed, 14 Feb 2007 22:14:54 +0100 (CET) > > > > > Anatoli Marinov wrote: > > > > Unfortunately the patch with simple new code for vendor in .h file > > didnt > > > > work. See the attached file. It is verbose dmesg after booting. > > > > > > Thanks. These are the important lines: > > > > > > > pci2: child re0 requested type 4 for rid 0x10, but the BAR says it > > is an memio > > > > re0: couldn't map ports/memory > > > > pci2: child rl0 requested type 4 for rid 0x10, but the BAR says it > > is an memio > > > > rl0: couldn't map ports/memory > > > > > > Uhm, strange, why do both re and rl try to attach? It's > > > clearly not an re device. Did you make any other changes > > > to the source code, beside the one I told you? Something > > > seems to be confused there in the drivers. > > > > re and rl have attach code that allocates resources and talks to the > > card to see what revision the card is. That's why he's seeing thsoe > > lines. > > > > > However, it seems that the driver cannot alloacte the PCI > > > resources correctly. > > > > This likely means that this card isn't a realtek interface. > > > > What would be nice is to know what the number of the chip on the NIC > > card is. And its maker. That would help us a lot to know which > > drivers to recommend. > > > > Warner > > > >