From owner-freebsd-stable@freebsd.org Thu Nov 16 02:10:36 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC211DB83F6 for ; Thu, 16 Nov 2017 02:10:36 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8601D676CE for ; Thu, 16 Nov 2017 02:10:35 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id vAG2ARj6008548 for ; Wed, 15 Nov 2017 18:10:34 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: In-Reply-To: References: From: "Chris H" Subject: Re: D-Link DGE530T issue Date: Wed, 15 Nov 2017 18:10:34 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 02:10:36 -0000 On Wed, 15 Nov 2017 23:00:33 +0300 Mike Black wrote > Hello > > I've got old PCI NIC D-Link DGE530T Rev 11 with SysKonnect chip on it. > Years ago it worked in FreeBSD 8/9 Stable with if_sk driver. > > Now I'm runnig > 11.1-STABLE FreeBSD 11.1-STABLE #1 r323214: Sat Nov 11 19:06:20 MSK 2017 > amd_miek@diablo.miekoff.local:/usr/obj/usr/src/sys/DIABLO64 amd64 1101502 > 1101502 > > But recently I plugged this card back and it's not being recognized by a > driver. > > pciconf says that is > none0@pci0:5:1:0: class=0x020000 card=0x4b011086 chip=0x4b011086 > rev=0x11 hdr=0x00 > vendor = 'J. Bond Computer Systems' > class = network > subclass = ethernet > bar [10] = type Memory, range 32, base 0xfebec000, size 16384, enabled > bar [14] = type I/O Port, range 32, base 0xee00, size 512, enabled > cap 01[48] = powerspec 2 supports D0 D1 D2 D3 current D3 > cap 03[50] = VPD > > According /usr/share/misc/pci_vendors this D-link should have 4b011186 not > 4b011086. Just a hunch; But maybe it was simply a typo? You can probably omit the additional "1" on your local copy of the source, and try to build it again. My guess is you'll have success. NOTE: I'm not an authority on this driver. I'm only attempting to provide a possible solution. :) If you *are* successful. I would advise opening a PR for this. :) --Chris > I looked into driver code (if_sk) and it expects 1186 card also. > I googled about this issue but found no one similar in a recent years > So I'd like to know what's wrong - some changes in driver in a recent years > or smth going wrong while OS detecting this NIC. But that's confusing, > because this exact NIC worked years ago... > > -- > amd_miek > Think different. > Just superior. > > n=sig-email&utm_content=webmail> Без > вирусов. www.avast.ru > n=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"