From owner-freebsd-net@FreeBSD.ORG Wed Jan 16 02:25:52 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 268A9FB5; Wed, 16 Jan 2013 02:25:52 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-pa0-f53.google.com (mail-pa0-f53.google.com [209.85.220.53]) by mx1.freebsd.org (Postfix) with ESMTP id EFAE2ED0; Wed, 16 Jan 2013 02:25:51 +0000 (UTC) Received: by mail-pa0-f53.google.com with SMTP id hz1so484186pad.40 for ; Tue, 15 Jan 2013 18:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:date:to:cc:subject:message-id:reply-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=6LQr86jNV3FPcpCiY8vcuveB9dTpH3462Jd44eyk+QE=; b=QwSLW2ZFBNknjXrJMUOMbR3lMnhEtE3EDj55085eCkxI4wZlnaXdBe132ynKKsRTcz 97g4lWUdrpbMBRObJO16BNvt1RBz7ZfMqAgHZY3ytbtAXSSffASRsyQU5+Bv4QqDTArx sHRHyyukjQbeaatXoCjDFTOIweOEaeisS69lkKIcag5u0EATT4N0twCB04xyv7ggYJko fvI4Qlw/GdNBURpwRPlKHCRN8ROKO7cycDY3g70/BWp/T8dxZS0op11qebLbnAdkxUF2 /C1kUI1ncWNclSVlhU7QhR7v6oKCrQzly/4aRroAnQVVG/LOnJXKnPLeUZQNx/8bPGXX AUAQ== X-Received: by 10.68.203.129 with SMTP id kq1mr49851090pbc.30.1358303150861; Tue, 15 Jan 2013 18:25:50 -0800 (PST) Received: from pyunyh@gmail.com (lpe4.p59-icn.cdngp.net. [114.111.62.249]) by mx.google.com with ESMTPS id qf7sm11283491pbb.49.2013.01.15.18.25.47 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 15 Jan 2013 18:25:50 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Wed, 16 Jan 2013 11:25:44 +0900 From: YongHyeon PYUN Date: Wed, 16 Jan 2013 11:25:44 +0900 To: Ruslan Makhmatkhanov Subject: Re: [SOLVED] if_vr(4) and DFE520-TX [working with patched if_rl] Message-ID: <20130116022544.GB3171@michelle.cdnetworks.com> References: <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> <50F51BB1.1000105@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50F51BB1.1000105@yandex.ru> User-Agent: Mutt/1.4.2.3i Cc: Jeremie Le Hen , freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jan 2013 02:25:52 -0000 On Tue, Jan 15, 2013 at 01:04:49PM +0400, Ruslan Makhmatkhanov wrote: > 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? > Yes, committed in r245485. I will MFC to stable 9/8 after a week. > 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. > Thanks for testing! > -- > Regards, > Ruslan > > Tinderboxing kills... the drives.