]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0106e45c0cc7e52cb6d22a8e613cabe57ccf2ba5
tree9c578651c91b70da176e3a65a5537aad53814e15
parentda54a6c8044be2ae0088340156c5a79cf379bfde
e1000e: flush all writebacks before unload

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>
drivers/net/e1000e/netdev.c