From: Shmulik Ravid Date: Thu, 3 Dec 2009 20:27:51 +0000 (+0200) Subject: PCI: read-modify-write the pcie device control register when initiating pcie flr X-Git-Tag: v2.6.33-rc1~321^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b55c4732780381410e52db0e9bfb7661f2b4b3;p=pandora-kernel.git PCI: read-modify-write the pcie device control register when initiating pcie flr The pcie_flr routine writes the device control register with the FLR bit set clearing all other fields for the FLR duration. Among other fields, the Max_Payload_Size is also cleared which can cause errors if there are transactions lurking in the HW pipeline. The patch replaces the blank write with read-modify-write of the control register keeping the other fields intact. Signed-off-by: Shmulik Ravid Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed