Gen4 hardware will have different values for the SWITCHTEC_X_RUNNING and SWITCHTEC_IOCTL_NUM_PARTITIONS, so rename them with GEN3 in their name. No functional changes intended.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -98,10 +98,10 @@ struct sw_event_regs { · 97 unmodified lines | |||
| 98 | } __packed; | 98 | } __packed; |
| 99 | 99 | ||
| 100 | enum { | 100 | enum { |
| 101 | SWITCHTEC_CFG0_RUNNING = 0x04, | 101 | SWITCHTEC_GEN3_CFG0_RUNNING = 0x04, |
| 102 | SWITCHTEC_CFG1_RUNNING = 0x05, | 102 | SWITCHTEC_GEN3_CFG1_RUNNING = 0x05, |
| 103 | SWITCHTEC_IMG0_RUNNING = 0x03, | 103 | SWITCHTEC_GEN3_IMG0_RUNNING = 0x03, |
| 104 | SWITCHTEC_IMG1_RUNNING = 0x07, | 104 | SWITCHTEC_GEN3_IMG1_RUNNING = 0x07, |
| 105 | }; | 105 | }; |
| 106 | 106 | ||
| 107 | struct sys_info_regs { | 107 | struct sys_info_regs { |