aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@pathscale.com>2006-07-01 07:36:00 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-01 12:55:59 -0400
commita40f55fc333cc20d85af92887334f41f7844e0c2 (patch)
tree3858247889f81c011604b4f998ff94eb071585e7 /drivers
parentb1d8865a2075934158af41bea5fde725efb70408 (diff)
[PATCH] IB/ipath: enable freeze mode when shutting down device
Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Cc: "Michael S. Tsirkin" <mst@mellanox.co.il> Cc: Roland Dreier <rolandd@cisco.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/infiniband/hw/ipath/ipath_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/ipath/ipath_driver.c b/drivers/infiniband/hw/ipath/ipath_driver.c
index 9763d3af830b..8fad35740fdb 100644
--- a/drivers/infiniband/hw/ipath/ipath_driver.c
+++ b/drivers/infiniband/hw/ipath/ipath_driver.c
@@ -1656,7 +1656,7 @@ void ipath_shutdown_device(struct ipath_devdata *dd)
1656 /* disable IBC */ 1656 /* disable IBC */
1657 dd->ipath_control &= ~INFINIPATH_C_LINKENABLE; 1657 dd->ipath_control &= ~INFINIPATH_C_LINKENABLE;
1658 ipath_write_kreg(dd, dd->ipath_kregs->kr_control, 1658 ipath_write_kreg(dd, dd->ipath_kregs->kr_control,
1659 dd->ipath_control); 1659 dd->ipath_control | INFINIPATH_C_FREEZEMODE);
1660 1660
1661 /* 1661 /*
1662 * clear SerdesEnable and turn the leds off; do this here because 1662 * clear SerdesEnable and turn the leds off; do this here because