Re: [PATCH 01/11] PCI: Add class support in quirk handling

From: Jesse Barnes
Date: Fri Feb 24 2012 - 17:35:32 EST


On Thu, 23 Feb 2012 23:46:49 -0800
Yinghai Lu <yinghai@xxxxxxxxxx> wrote:

> Recently there is new support to make quirk calling will report duration time.
> That will boot log get more print out with initcall_debug is specified.
>
> Found a lot of quirks are calling for not related devices.
>
> Reason is quirk frame do not support class handling. So quirk code have to
> use PCI_ANY_ID for vendor/device and let quirk code itself to check class
> inside the func.
>
> The patch add class and cls_shift into struct pci_fixup.
> Also update related macro to accept the class and shift.
>
> -v2: fix v1 that left over of sparated patch.
> -v3: according to Jesse, change cls to class, cls_shift, to class_shift.
>

Applied these, thanks Yinghai.

--
Jesse Barnes, Intel Open Source Technology Center

Attachment: signature.asc
Description: PGP signature