ixgbe: move all GPIE register config into a single function
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:39:20 +0000 (13:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:44:25 +0000 (16:44 -0700)
commita34bcfffae8ebbba9dcbacbc3de718cca66689dd
tree18b5940c59c459ec6f7e3d054706d18e3c97a535
parentf5b4a52e81d46b51ba07a983036739dc0c2c6c1c
ixgbe: move all GPIE register config into a single function

This change moves all GPIE register configuration into a single function.
The advantage of this is that we can avoid a number of unnecessary
read/modify/write cycles on the 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/ixgbe/ixgbe_main.c