]> asedeno.scripts.mit.edu Git - linux.git/commit
habanalabs: add skeleton driver
authorOded Gabbay <oded.gabbay@gmail.com>
Fri, 15 Feb 2019 22:39:11 +0000 (00:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Feb 2019 08:46:43 +0000 (09:46 +0100)
commitc4d66343a46a4931d6a547042198896e4fd1c592
tree332ec9c14d265a7a9b71bf8b7240277f176149a0
parent26528be6720bb40bc8844e97ee73a37e530e9c5e
habanalabs: add skeleton driver

This patch adds the habanalabs skeleton driver. The driver does nothing at
this stage except very basic operations. It contains the minimal code to
insmod and rmmod the driver and to create a /dev/hlX file per PCI device.

Reviewed-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/habanalabs/Kconfig [new file with mode: 0644]
drivers/misc/habanalabs/Makefile [new file with mode: 0644]
drivers/misc/habanalabs/device.c [new file with mode: 0644]
drivers/misc/habanalabs/habanalabs.h [new file with mode: 0644]
drivers/misc/habanalabs/habanalabs_drv.c [new file with mode: 0644]