From: Peter Oruba Date: Tue, 15 May 2007 11:59:13 +0000 (+0200) Subject: PCI: add PCI-X/PCI-Express read control interfaces X-Git-Tag: v2.6.23-rc1~1106^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d556ad4bbe75faf17b239e151a9f003322b2e851;p=pandora-kernel.git PCI: add PCI-X/PCI-Express read control interfaces This patch introduces an interface to read and write PCI-X / PCI-Express maximum read byte count values from PCI config space. There is a second function that returns the maximum _designed_ read byte count, which marks the maximum value for a device, since some drivers try to set MMRBC to the highest allowed value and rely on such a function. Based on patch set by Stephen Hemminger Cc: Stephen Hemminger Signed-off-by: Peter Oruba Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed