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.
Showing the changes to include/linux (1 of 6 files). Show all
Unified · Split
| @@ -1178,6 +1178,15 @@ struct qed_common_ops { · 1177 unmodified lines | ||
| 1178 | 1178 | #define GET_FIELD(value, name) \ |
| 1179 | 1179 | (((value) >> (name ## _SHIFT)) & name ## _MASK) |
| 1180 | 1180 | |
| 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 | + | |
| 1181 | 1190 | #define DB_ADDR_SHIFT(addr) ((addr) << DB_PWM_ADDR_OFFSET_SHIFT) |
| 1182 | 1191 | |
| 1183 | 1192 | /* Debug print definitions */ |