From owner-freebsd-drivers@FreeBSD.ORG Sun Feb 18 19:35:26 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 C789116A402 for ; Sun, 18 Feb 2007 19:35:26 +0000 (UTC) (envelope-from anatoli.marinov@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.226]) by mx1.freebsd.org (Postfix) with ESMTP id 83BD213C4A3 for ; Sun, 18 Feb 2007 19:35:26 +0000 (UTC) (envelope-from anatoli.marinov@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so1693000nzh for ; Sun, 18 Feb 2007 11:35:26 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=kA1wid265wfoaIRb3jRpc8o7qtXHPSyjURXMslnK0FHjRQySNOWvUfmFPf33cbtdtT81fIP3dSU9TE6ycdbkHR8Ih88DLWO1LVnU8SdaPqMjhutzKVznUTYGG5bYoE948MVeE1FKB9A/tZAaPm3hry3PTg2Wlt0wxLVwUcJjBFM= Received: by 10.114.78.1 with SMTP id a1mr2642052wab.1171827325099; Sun, 18 Feb 2007 11:35:25 -0800 (PST) Received: by 10.114.134.3 with HTTP; Sun, 18 Feb 2007 11:35:24 -0800 (PST) Message-ID: Date: Sun, 18 Feb 2007 21:35:24 +0200 From: "Anatoli Marinov" To: freebsd-drivers@freebsd.org In-Reply-To: MIME-Version: 1.0 References: <20070215.141213.78798381.imp@bsdimp.com> <20070215.233553.-861030449.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 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: Sun, 18 Feb 2007 19:35:26 -0000 Guys, What should I do with my RTL 8139D NIC. Is there someone who knows how I can use this card with freebsd? Is it possible? Toli 2007/2/16, Anatoli Marinov : > > NIC pictures - RTL8139D > http://snimka.bg/album.php?album_id=105612 > > Is there a driver? :) > > 2007/2/16, M. Warner Losh < imp@bsdimp.com>: > > > > In message: > > > > "Anatoli Marinov" writes: > > : OK. I will. > > > > I could download them, but I stopped the download of the first one > > after 20 minutes and it had only finished 1/3 of the picture... just > > enough to see the RTL8139D on the badge... > > > > Warner > > > > : Thanks > > : > > : 2007/2/15, Warner Losh : > > : > > > : > > 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? > > : > > > : > I think that it might be wise for me to snag these pictures and > > mirror > > : > them somewhere. The download time is very very slow. I chose the > > : > smallest image and it is taking a very long time. > > : > > > : > Warner > > : > > > : > > > : > > Toli > > : > > > > : > > 2007/2/15, Anatoli Marinov < anatoli.marinov@gmail.com>: > > : > > > > > : > > > I am going to prepare high resolution photos and will post links > > there > > : > > > > > : > > > 2007/2/14, Warner Losh < imp@bsdimp.com>: > > : > > > > > > : > > > > 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 > > : > > > > > > : > > > > > : > > > > > : > > > > >