summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-02-24 07:46:49 (GMT)
committerJesse Barnes <jbarnes@virtuousgeek.org>2012-02-24 22:34:40 (GMT)
commitf4ca5c6a56278ca5421bc2e40422e4155b6735d8 (patch)
tree53be4f61e4da75deae8cbcd4948d6d3b47404d79 /drivers/atm
parentecd58d667a6ac4350d2f67b9accaadf575bae4b0 (diff)
downloadlinux-f4ca5c6a56278ca5421bc2e40422e4155b6735d8.tar.xz
PCI: Add class support in quirk handling
Recently added support to allow quirks to report duration also make the boot log very crowded when initcall_debug is specified. One thing we can to do mitigate this is to not call quirks unnecessarily by adding a new quirk declaration macro that takes a class argument. The new macro takes a class value and a class shift value (since it can vary) so that quirks will be limited to certain device classes, greatly reducing the number we call on every PCI device addition. -v2: fix v1 that left over of sparated patch. -v3: according to Jesse, change cls to class, cls_shift, to class_shift. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions