]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6836219d3ae22f616fabb9e8848ba91d0593d234
treeb41e3ca6e9d79e1b2aa9fc4662340eaf61de9b3d
parent5436d2d2305ca44004280598b404b85bfebc9f8b
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