]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: use EQ MSI/X ID per chip
authorOded Gabbay <oded.gabbay@gmail.com>
Mon, 4 Mar 2019 13:51:30 +0000 (15:51 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 4 Mar 2019 13:51:30 +0000 (15:51 +0200)
commita3ff55eae1aa4e2e4080c05d820033faa76b65cd
tree13d7f6e0a0185319a9152a7bda5554fa7dca8b06
parent46b69ad59bbbfb59c5d00be85a54c0bd43dda3ce
habanalabs: use EQ MSI/X ID per chip

The Event Queue MSI/X ID is different per ASIC. This patch renames the
current define to have the GOYA_ prefix to mark it only for Goya. It also
moves it from the common armcp_if.h file to the ASIC specific goya_fw_if.h
file.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/include/armcp_if.h
drivers/misc/habanalabs/include/goya/goya_fw_if.h