Skip to content

Commit 75bf60a

Browse files
committed
Merge branch 'xlink_4.12' into xlink_4.4_to_4.7
2 parents de2f56a + b4de5cd commit 75bf60a

File tree

2 files changed

+378
-82
lines changed

2 files changed

+378
-82
lines changed

linux/switchtec.h

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,15 @@ struct ntb_info_regs {
172172
u16 reserved1;
173173
u64 ep_map;
174174
u16 requester_id;
175+
u16 reserved2;
176+
u32 reserved3[4];
177+
struct {
178+
u8 enabled;
179+
u8 partition_vec_low;
180+
u8 partition_vec_high;
181+
u8 reserved1;
182+
u32 reserved2[3];
183+
} crosslink[48];
175184
} __packed;
176185

177186
struct part_cfg_regs {
@@ -288,7 +297,20 @@ enum {
288297
struct pff_csr_regs {
289298
u16 vendor_id;
290299
u16 device_id;
291-
u32 pci_cfg_header[15];
300+
u16 pcicmd;
301+
u16 pcists;
302+
u32 pci_class;
303+
u32 pci_opts;
304+
union {
305+
u32 pci_bar[6];
306+
u64 pci_bar64[3];
307+
};
308+
u32 pci_cardbus;
309+
u32 pci_subsystem_id;
310+
u32 pci_expansion_rom;
311+
u32 pci_cap_ptr;
312+
u32 reserved1;
313+
u32 pci_irq;
292314
u32 pci_cap_region[48];
293315
u32 pcie_cap_region[448];
294316
u32 indirect_gas_window[128];

0 commit comments

Comments
 (0)