[PATCH] IB/ipath: enable freeze mode when shutting down device
authorBryan O'Sullivan <[email protected]>
Sat, 1 Jul 2006 11:36:00 +0000 (04:36 -0700)
committerLinus Torvalds <[email protected]>
Sat, 1 Jul 2006 16:55:59 +0000 (09:55 -0700)
Signed-off-by: Dave Olson <[email protected]>
Signed-off-by: Bryan O'Sullivan <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Roland Dreier <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/infiniband/hw/ipath/ipath_driver.c

index 9763d3af830b681555e955b27ca006e2df8dd9fe..8fad35740fdb5d95310affb1e0139f9910e05cd8 100644 (file)
@@ -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