e1000e: flush all writebacks before unload
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Wed, 2 Feb 2011 10:19:50 +0000 (10:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 17 Feb 2011 09:11:21 +0000 (01:11 -0800)
The driver was not flushing all writebacks before unloading, possibly
causing memory to be written by the hardware after the driver had
reinitialized the rings.

This adds missing functionality to flush any pending writebacks and is
called in all spots where descriptors should be completed before the driver
begins processing.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>

No differences found