From owner-freebsd-net@FreeBSD.ORG Tue Jan 15 09:05:03 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D98145BA; Tue, 15 Jan 2013 09:05:03 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward4h.mail.yandex.net (forward4h.mail.yandex.net [IPv6:2a02:6b8:0:f05::4]) by mx1.freebsd.org (Postfix) with ESMTP id 836FE6FE; Tue, 15 Jan 2013 09:05:03 +0000 (UTC) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [84.201.187.144]) by forward4h.mail.yandex.net (Yandex) with ESMTP id 503B51B21B34; Tue, 15 Jan 2013 13:05:02 +0400 (MSK) Received: from smtp1h.mail.yandex.net (localhost [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id C1F9B13402EB; Tue, 15 Jan 2013 13:05:01 +0400 (MSK) Received: from ctsoff2.webstroy.ru (ctsoff2.webstroy.ru [213.27.12.78]) by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 500CcIB6-510aP8NY; Tue, 15 Jan 2013 13:05:01 +0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1358240701; bh=cUpx3GTmnlxHqLe/mvi9yg7jsmlI9PmatdSACQW73zI=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=hXAqpiNvGY3rxKh7WOa1JMYcA2LT8HOYE17mvu5hxXq+KDUWGiXCcvTxFtasAvuE/ By4K9NxlXrLxxBo0alGUtXPYc0/Koe6K+3MFF1pVQvhP95N5izYGQnwTE3xegCYzkB F+N1nmTuYlTEa4jT1YvTr5yMDdJEuIBN1d/NoPHY= Message-ID: <50F51BB1.1000105@yandex.ru> Date: Tue, 15 Jan 2013 13:04:49 +0400 From: Ruslan Makhmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130114 Thunderbird/17.0.2 MIME-Version: 1.0 To: pyunyh@gmail.com Subject: Re: [SOLVED] if_vr(4) and DFE520-TX [working with patched if_rl] References: <50F110AB.1030107@yandex.ru> <50F14880.4090001@yandex.ru> <50F177E9.3040003@yandex.ru> <20130114061553.GA3531@michelle.cdnetworks.com> <50F3F172.5060903@yandex.ru> <20130115024430.GA3152@michelle.cdnetworks.com> <50F4F7E6.7070004@yandex.ru> <20130115064011.GA1434@michelle.cdnetworks.com> <50F4FB8A.6090100@yandex.ru> <20130115065103.GC1434@michelle.cdnetworks.com> In-Reply-To: <20130115065103.GC1434@michelle.cdnetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremie Le Hen , freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 09:05:03 -0000 YongHyeon PYUN wrote on 15.01.2013 10:51: > > Hmm, I don't get it. > Diff inlined again. > > Index: sys/pci/if_rlreg.h > =================================================================== > --- sys/pci/if_rlreg.h (revision 245199) > +++ sys/pci/if_rlreg.h (working copy) > @@ -1048,6 +1048,11 @@ struct rl_softc { > #define DLINK_DEVICEID_530TXPLUS 0x1300 > > /* > + * D-Link DFE-520TX rev. C1 device ID > + */ > +#define DLINK_DEVICEID_520TX_REVC1 0x4200 > + > +/* > * D-Link DFE-5280T device ID > */ > #define DLINK_DEVICEID_528T 0x4300 > Index: sys/pci/if_rl.c > =================================================================== > --- sys/pci/if_rl.c (revision 245199) > +++ sys/pci/if_rl.c (working copy) > @@ -148,6 +148,8 @@ static const struct rl_type rl_devs[] = { > "Delta Electronics 8139 10/100BaseTX" }, > { ADDTRON_VENDORID, ADDTRON_DEVICEID_8139, RL_8139, > "Addtron Technology 8139 10/100BaseTX" }, > + { DLINK_VENDORID, DLINK_DEVICEID_520TX_REVC1, RL_8139, > + "D-Link DFE-520TX (rev. C1) 10/100BaseTX" }, > { DLINK_VENDORID, DLINK_DEVICEID_530TXPLUS, RL_8139, > "D-Link DFE-530TX+ 10/100BaseTX" }, > { DLINK_VENDORID, DLINK_DEVICEID_690TXD, RL_8139, >> Hooray! It is working with if_rl with your patch (loader tunable isn't used). Thanks a lot for this! Can this be committed and merged to 8/9? rl1@pci0:4:1:0: class=0x020000 card=0x11031186 chip=0x42001186 rev=0x10 hdr=0x00 vendor = 'D-Link System Inc' class = network subclass = ethernet rl1: flags=8843 metric 0 mtu 1500 options=2008 ether 90:94:e4:82:d5:e6 inet 192.168.0.208 netmask 0xffffff00 broadcast 192.168.0.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active Ping and all other working fine. -- Regards, Ruslan Tinderboxing kills... the drives.