Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a40f55fc authored by Bryan O'Sullivan's avatar Bryan O'Sullivan Committed by Linus Torvalds
Browse files

[PATCH] IB/ipath: enable freeze mode when shutting down device



Signed-off-by: default avatarDave Olson <dave.olson@qlogic.com>
Signed-off-by: default avatarBryan O'Sullivan <bryan.osullivan@qlogic.com>
Cc: "Michael S. Tsirkin" <mst@mellanox.co.il>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b1d8865a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1656,7 +1656,7 @@ void ipath_shutdown_device(struct ipath_devdata *dd)
	/* disable IBC */
	/* disable IBC */
	dd->ipath_control &= ~INFINIPATH_C_LINKENABLE;
	dd->ipath_control &= ~INFINIPATH_C_LINKENABLE;
	ipath_write_kreg(dd, dd->ipath_kregs->kr_control,
	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
	 * clear SerdesEnable and turn the leds off; do this here because