habanalabs: Move PCI code into common file

Move duplicated PCI-related code from ASIC-specific files into the common
pci.c file.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
Tomer Tayar 2019-03-05 16:48:42 +02:00 • committed by Oded Gabbay
commit b6f897d75d
6 changed files with 434 additions and 265 deletions