From: Bryan O'Sullivan Date: Sat, 1 Jul 2006 11:36:00 +0000 (-0700) Subject: [PATCH] IB/ipath: enable freeze mode when shutting down device X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a40f55fc333cc20d85af92887334f41f7844e0c2;p=linux-beck.git [PATCH] IB/ipath: enable freeze mode when shutting down device Signed-off-by: Dave Olson Signed-off-by: Bryan O'Sullivan Cc: "Michael S. Tsirkin" Cc: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- 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) /* disable IBC */ dd->ipath_control &= ~INFINIPATH_C_LINKENABLE; ipath_write_kreg(dd, dd->ipath_kregs->kr_control, - dd->ipath_control); + dd->ipath_control | INFINIPATH_C_FREEZEMODE); /* * clear SerdesEnable and turn the leds off; do this here because