diff options
Diffstat (limited to 'include/linux/switchtec.h')
-rw-r--r-- | include/linux/switchtec.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/include/linux/switchtec.h b/include/linux/switchtec.h index 09d73d0d1aa8..ec93e93371fa 100644 --- a/include/linux/switchtec.h +++ b/include/linux/switchtec.h | |||
@@ -100,6 +100,9 @@ struct sw_event_regs { | |||
100 | u32 gpio_interrupt_hdr; | 100 | u32 gpio_interrupt_hdr; |
101 | u32 gpio_interrupt_data; | 101 | u32 gpio_interrupt_data; |
102 | u32 reserved16[4]; | 102 | u32 reserved16[4]; |
103 | u32 gfms_event_hdr; | ||
104 | u32 gfms_event_data; | ||
105 | u32 reserved17[4]; | ||
103 | } __packed; | 106 | } __packed; |
104 | 107 | ||
105 | enum { | 108 | enum { |
@@ -168,6 +171,14 @@ struct ntb_info_regs { | |||
168 | u16 reserved1; | 171 | u16 reserved1; |
169 | u64 ep_map; | 172 | u64 ep_map; |
170 | u16 requester_id; | 173 | u16 requester_id; |
174 | u16 reserved2; | ||
175 | u32 reserved3[4]; | ||
176 | struct nt_partition_info { | ||
177 | u32 xlink_enabled; | ||
178 | u32 target_part_low; | ||
179 | u32 target_part_high; | ||
180 | u32 reserved; | ||
181 | } ntp_info[48]; | ||
171 | } __packed; | 182 | } __packed; |
172 | 183 | ||
173 | struct part_cfg_regs { | 184 | struct part_cfg_regs { |
@@ -284,7 +295,20 @@ enum { | |||
284 | struct pff_csr_regs { | 295 | struct pff_csr_regs { |
285 | u16 vendor_id; | 296 | u16 vendor_id; |
286 | u16 device_id; | 297 | u16 device_id; |
287 | u32 pci_cfg_header[15]; | 298 | u16 pcicmd; |
299 | u16 pcists; | ||
300 | u32 pci_class; | ||
301 | u32 pci_opts; | ||
302 | union { | ||
303 | u32 pci_bar[6]; | ||
304 | u64 pci_bar64[3]; | ||
305 | }; | ||
306 | u32 pci_cardbus; | ||
307 | u32 pci_subsystem_id; | ||
308 | u32 pci_expansion_rom; | ||
309 | u32 pci_cap_ptr; | ||
310 | u32 reserved1; | ||
311 | u32 pci_irq; | ||
288 | u32 pci_cap_region[48]; | 312 | u32 pci_cap_region[48]; |
289 | u32 pcie_cap_region[448]; | 313 | u32 pcie_cap_region[448]; |
290 | u32 indirect_gas_window[128]; | 314 | u32 indirect_gas_window[128]; |