]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ssb: Clear RETRY_TIMEOUT in PCI Configuration for normal devices
authorLarry Finger <Larry.Finger@lwfinger.net>
Wed, 20 Oct 2010 14:59:33 +0000 (09:59 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:23:28 +0000 (13:23 -0500)
commite081685c1bbe8da37c7f61726fdb783ff277f14f
tree333e95f2e541b72dec38e76ae8d371bd8942e53c
parent14fb7c17e97ea0fcc545393fb1f34e6541647b5b
ssb: Clear RETRY_TIMEOUT in PCI Configuration for normal devices

MMIO log traces obtained using the Broadcom wl hybrid driver show that
the RETRY_TIMEOUT register (0x41) in PCI configuration space is cleared
if non-zero. Similar code found in other drivers such as ipw2100 show
this operation is needed to keep PCI Tx retries from interfering with
C3 CPU state. There are no known cases where omission of this code has
caused a problem, but this patch is offered just in case such a situation
occurs.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pcihost_wrapper.c