History

habanalabs: get card type, location from F/W

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.

Omer Shpigelman committed 6 years ago

Commit fca72fb1 parent ca624333 files · +23 −4Browse files

Showing the changes to include/uapi/misc (1 of 3 files). Show all

Unified · Split

include/uapi/misc/habanalabs.h+2−1
@@ -125,7 +125,8 @@ struct hl_info_hw_ip_info { · 124 unmodified lines
125125 __u32 sram_size;
126126 __u32 num_of_events;
127127 __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];
129130 __u32 armcp_cpld_version;
130131 __u32 psoc_pci_pll_nr;
131132 __u32 psoc_pci_pll_nf;