From: Thomas Renninger Date: Tue, 11 Oct 2011 13:33:50 +0000 (+0200) Subject: cpupower: Better interface for accessing AMD pci registers X-Git-Tag: v3.4-rc1~37^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=568a89904c7fc93071efd7f811fc58aff6d5774a;p=pandora-kernel.git cpupower: Better interface for accessing AMD pci registers AMD's BKDG (Bios and Kernel Developers Guide) talks in the CPU spec of their CPU families about PCI registers defined by "device" (slot) and func(tion). Assuming that CPU specific configuration PCI devices are always on domain and bus zero a pci_slot_func_init() func which gets the slot and func of the desired PCI device passed looks like the most convenient way. This also obsoletes the PCI device id maintenance. Signed-off-by: Thomas Renninger CC: Andreas Herrmann Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed