History

qed: FW 8.42.2.0 debug features

Add to debug dump more information on the platform it was collected from (pci func, path id). Provide human readable reg fifo erros. Removed static debug arrays from HSI Functions, and move them to the hwfn. Some structures were slightly changed (removing reserved chip id for example) which lead to many long initializations being modified with one parameter less during initialization. This leads to some long diffs that don't really change anything.

Michal Kalderon committed 6 years ago

Commit 2d22bc81 parent 6bc82d96 files · +1530 −2538Browse files

Showing the changes to include/linux (1 of 6 files). Show all

Unified · Split

include/linux/qed/qed_if.h+9−0
@@ -1178,6 +1178,15 @@ struct qed_common_ops { · 1177 unmodified lines
11781178 #define GET_FIELD(value, name) \
11791179 (((value) >> (name ## _SHIFT)) & name ## _MASK)
11801180
1181+#define GET_MFW_FIELD(name, field) \
1182+ (((name) & (field ## _MASK)) >> (field ## _OFFSET))
1183+
1184+#define SET_MFW_FIELD(name, field, value) \
1185+ do { \
1186+ (name) &= ~(field ## _MASK); \
1187+ (name) |= (((value) << (field ## _OFFSET)) & (field ## _MASK));\
1188+ } while (0)
1189+
11811190 #define DB_ADDR_SHIFT(addr) ((addr) << DB_PWM_ADDR_OFFSET_SHIFT)
11821191
11831192 /* Debug print definitions */