For Gaudi the driver gets two new additional properties from the F/W: 1. The card's type - PCI or PMC 2. The card's location in the Gaudi's box (relevant only for PMC). The card's location is also passed to the user in the HW IP info structure as it needs this property for establishing communication between Gaudis.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -125,7 +125,8 @@ struct hl_info_hw_ip_info { · 124 unmodified lines | ||
| 125 | 125 | __u32 sram_size; |
| 126 | 126 | __u32 num_of_events; |
| 127 | 127 | __u32 device_id; /* PCI Device ID */ |
| 128 | − __u32 reserved[3]; | |
| 128 | + __u32 module_id; /* For mezzanine cards in servers (From OCP spec.) */ | |
| 129 | + __u32 reserved[2]; | |
| 129 | 130 | __u32 armcp_cpld_version; |
| 130 | 131 | __u32 psoc_pci_pll_nr; |
| 131 | 132 | __u32 psoc_pci_pll_nf; |