projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e055600
)
igc: Add comment
author
Sasha Neftin
<sasha.neftin@intel.com>
Mon, 3 Feb 2020 08:11:50 +0000
(10:11 +0200)
committer
Jeff Kirsher
<jeffrey.t.kirsher@intel.com>
Thu, 20 Feb 2020 00:51:53 +0000
(16:51 -0800)
Separate interrupt and flag definitions.
Made the code clear.
Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc.h
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/igc/igc.h
b/drivers/net/ethernet/intel/igc/igc.h
index 8d9ed4f0b69dc230680cb91b62d4284e425327bd..0014828eec46aeafe64d1ffa142983852242e82b 100644
(file)
--- a/
drivers/net/ethernet/intel/igc/igc.h
+++ b/
drivers/net/ethernet/intel/igc/igc.h
@@
-57,6
+57,8
@@
extern char igc_driver_version[];
/* Interrupt defines */
#define IGC_START_ITR 648 /* ~6000 ints/sec */
+
+/* Flags definitions */
#define IGC_FLAG_HAS_MSI BIT(0)
#define IGC_FLAG_QUEUE_PAIRS BIT(3)
#define IGC_FLAG_DMAC BIT(4)