igb: add flushes between RAR writes when setting mac address
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 5 Oct 2009 06:36:01 +0000 (06:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 21:59:24 +0000 (14:59 -0700)
commit6deac6f2b46f84b8822683cce92eab4edf2ade5e
tree9423486a368aec154279e7624f1c1fbd6c61b657
parent2553bb2681645bf932db2845121b8f33954f6f39
igb: add flushes between RAR writes when setting mac address

There are some switches that will do write combining when they see two
sequential regions written. In order to avoid any possible write combining
issues it is necessary to add a flush after writing each piece of a rar
register.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_mac.c