From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kenneth Graunke Subject: Re: [PATCH 3/4] Remove the static list of PciChipset and construct it from SymTabRec instead. Date: Sat, 07 May 2011 22:24:38 -0700 Message-ID: <4DC62916.50803@whitecape.org> References: <1304726935-8428-1-git-send-email-eric@anholt.net> <1304726935-8428-3-git-send-email-eric@anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from homiemail-a4.g.dreamhost.com (caiajhbdccac.dreamhost.com [208.97.132.202]) by gabe.freedesktop.org (Postfix) with ESMTP id 220C79E787 for ; Sat, 7 May 2011 22:24:18 -0700 (PDT) Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 491F151C069 for ; Sat, 7 May 2011 22:24:16 -0700 (PDT) Received: from [10.0.0.250] (static-50-43-46-73.bvtn.or.frontiernet.net [50.43.46.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: kenneth@whitecape.org) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id 2B63C51C063 for ; Sat, 7 May 2011 22:24:15 -0700 (PDT) In-Reply-To: <1304726935-8428-3-git-send-email-eric@anholt.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On 05/06/2011 05:08 PM, Eric Anholt wrote: > This is one less place the new hardware enabler has to spam the > chipset in. The PciChipset is just a match structure from PciId to > the SymTabRec entry token, and our SymTabRec entry tokens are just the > PciId, so it's trivial to construct. > --- > src/intel_module.c | 53 +++++++-------------------------------------------- > 1 files changed, 8 insertions(+), 45 deletions(-) Acked-by: Kenneth Graunke I'm always glad to see lists of PCI IDs die.