]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IB/mthca: restore missing PCI registers after reset
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 7 Aug 2006 17:04:22 +0000 (19:04 +0200)
committerAdrian Bunk <bunk@stusta.de>
Mon, 7 Aug 2006 17:04:22 +0000 (19:04 +0200)
commitad29cb6531ebcc567327ab3030516f2f400a1c4e
tree0d604ea70866db8227cbf238ecb0bba87ca3dcdd
parent1fdb33cb352bce98804bfa8342a671a132d9dd54
IB/mthca: restore missing PCI registers after reset

mthca does not restore the following PCI-X/PCI Express registers after reset:
  PCI-X device: PCI-X command register
  PCI-X bridge: upstream and downstream split transaction registers
  PCI Express : PCI Express device control and link control registers

This causes instability and/or bad performance on systems where one of
these registers is set to a non-default value by BIOS.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/infiniband/hw/mthca/mthca_reset.c