]> www.infradead.org Git - users/jedix/linux-maple.git/commit
e1000e: use default settings for Tx Inter Packet Gap timer
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 16 Dec 2011 00:46:12 +0000 (00:46 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 07:04:39 +0000 (15:04 +0800)
commit535e18c95e6f0f588d56ffe7500bffc22b5de3e6
treed24f0c0f182a5c3e1c64b15313b8f67dfce59d51
parentb6529b3ec3ab53da65b16272237974170914272e
e1000e: use default settings for Tx Inter Packet Gap timer

Use the default hardware values for TIPG except for es2lan(*).  The
code that is removed in this patch is either unnecessarily writing the TIPG
register with the hardware default values for some devices (82571/2/3/4) or
writing the wrong value for others (ICH/PCH LOMs).  The only change in
functionality is setting the correct default TIPG for the latter devices.

(*) The correct value for es2lan is already set properly in
e1000_init_hw_80003es2lan() and e1000_cfg_kmrn_{10_100|1000}_80003es2lan(),
and the unused flag FLAG_TIPG_MEDIUM_FOR_80003ESLAN is removed.

(cherry picked from commit 6a92f732f557401ca8cc0b16f8e8914c133cf6c6)
Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/es2lan.c
drivers/net/e1000e/netdev.c