[IBBUS,HW] add standby/hibernation support to IBBUS. [mlnx: 4750]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 26 Oct 2009 09:35:50 +0000 (09:35 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 26 Oct 2009 09:35:50 +0000 (09:35 +0000)
commit5b2897e0c3d2684f42bbb047914ac6eb6d3f5263
tree7f5b725a764836c0789dc71f8c9947d8cd7b4652
parent39ba4e9e9069f295f2fb5c2b8e0f6474925daf3a
[IBBUS,HW] add standby/hibernation support to IBBUS. [mlnx: 4750]

Mellanox HW doesn't support neither standby nor hibernation.
To simulate such support, low-level driver resets HCA on power down and starts it up on power up.
IBBUS, continuing to work with HCA, produces BSODs.

This patch deregisters HCA from IBAL on power down and re-registers it on power up.

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2507 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/bus/kernel/bus_driver.h
core/bus/kernel/bus_iou_mgr.c
core/bus/kernel/bus_pnp.c
core/bus/kernel/bus_port_mgr.c
hw/mlx4/kernel/bus/drv/drv.c
hw/mlx4/kernel/hca/drv.c
hw/mthca/kernel/hca_pnp.c