fm10k: Add support for basic interaction with hardware
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 20 Sep 2014 23:46:45 +0000 (19:46 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 23 Sep 2014 10:59:14 +0000 (03:59 -0700)
commit04a5aefbfb0109961e1bc3c84ecee00693f78005
treeb41e3ca6e9d79e1b2aa9fc4662340eaf61de9b3d
parentae17db0ee5eefb8a605d5af31b19e86f7deae7e7
fm10k: Add support for basic interaction with hardware

This patch adds the basic read/write operations for accessing the hardware.

In addition to read read functionality the read functions also provide
surprise remove detection in the event that the device either loses power
or is removed.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k.h
drivers/net/ethernet/intel/fm10k/fm10k_common.h [new file with mode: 0644]
drivers/net/ethernet/intel/fm10k/fm10k_pci.c