net/ixgbe/base: allow per-device-type method calls
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:16 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:52 +0000 (16:17 +0200)
commiteb540e47c6370d12d04195d33e084f88671b951b
treeb14b5c4c7d58b7f2d710e9d97bfe2a0df1c93d1a
parentc00433544eeef97124ab5f31d67df0b800461220
net/ixgbe/base: allow per-device-type method calls

Use the method pointers instead of direct function calls for IOSF
access so that the right functions can be called on X550EM_a,
compared to other devices using the driver.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c