From owner-freebsd-net@FreeBSD.ORG Wed Oct 4 06:00:09 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 205C316A403 for ; Wed, 4 Oct 2006 06:00:09 +0000 (UTC) (envelope-from rea@codelabs.ru) Received: from pobox.codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E87D43D49 for ; Wed, 4 Oct 2006 06:00:08 +0000 (GMT) (envelope-from rea@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender:X-Spam-Status:Subject; b=oLEB46GfwqnenVDYMa9IOyKbsx9tObFMOjs347EDxuFkewUNapqamFNW5j/ATq7rImy20OfVPeF5ynWE01OYJdLAw553o/K+JVRMa9ALdxMjtBheNU9WBlrTUQ3GWylif1blC4rCUgIOyaykuQm/Khy32kdonHlXeCVjego3dLg=; Received: from codelabs.ru (pobox.codelabs.ru [144.206.177.45]) by pobox.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1GUzna-000MZl-R9 (envelope-from ); Wed, 04 Oct 2006 10:00:07 +0400 Date: Wed, 4 Oct 2006 10:00:02 +0400 From: Eygene Ryabinkin To: Tim Allender Message-ID: <20061004060002.GU1491@codelabs.ru> References: <4520695C.9060302@goldenpath.org> <20061002125254.GC25883@codelabs.ru> <4522655B.90507@goldenpath.org> <20061003134415.GP1491@codelabs.ru> <45227AD4.8060506@goldenpath.org> <20061003152034.GQ1491@codelabs.ru> <45228BB6.9020406@goldenpath.org> <20061004055741.GT1491@codelabs.ru> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ibTvN161/egqYuK8" Content-Disposition: inline In-Reply-To: <20061004055741.GT1491@codelabs.ru> Sender: rea@codelabs.ru X-Spam-Status: No, score=-1.9 required=4.0 tests=ALL_TRUSTED,AWL,BAYES_50 Cc: freebsd-net@freebsd.org Subject: Re: D-Link DGE-530T X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2006 06:00:09 -0000 --ibTvN161/egqYuK8 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline > The patch-file that will do the job is attached to this message. Oops, forgot to attach the file. About your previous message: lines aren't line up because you should extract the patchfile from the 'raw' PR, see the link at the bottom of the PR. -- Eygene --ibTvN161/egqYuK8 Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="sk.patch" --- skORIG/if_sk.c Sat Jul 8 13:58:57 2006 +++ skNEW/if_sk.c Sat Jul 8 14:34:43 2006 @@ -196,6 +196,11 @@ DEVICEID_DLINK_DGE530T, "D-Link DGE-530T Gigabit Ethernet" }, + { + VENDORID_DLINK, + DEVICEID_DLINK_DGE530T_REV2, + "D-Link DGE-530T Gigabit Ethernet" + }, { 0, 0, NULL } }; @@ -1804,6 +1809,10 @@ case DEVICEID_3COM_3C940: case DEVICEID_LINKSYS_EG1032: case DEVICEID_DLINK_DGE530T: + /* Stay with VPD PN. */ + pname = sc->sk_vpd_prodname; + break; + case DEVICEID_DLINK_DGE530T_REV2: /* Stay with VPD PN. */ pname = sc->sk_vpd_prodname; break; --- skORIG/if_skreg.h Sat Jul 8 13:59:02 2006 +++ skNEW/if_skreg.h Sat Jul 8 14:34:55 2006 @@ -136,6 +136,11 @@ #define DEVICEID_DLINK_DGE530T 0x4c00 /* + * D-Link gigabit ethernet rev 2 device ID + */ +#define DEVICEID_DLINK_DGE530T_REV2 0x4b01 + +/* * GEnesis registers. The GEnesis chip has a 256-byte I/O window * but internally it has a 16K register space. This 16K space is * divided into 128-byte blocks. The first 128 bytes of the I/O --ibTvN161/egqYuK8--