]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: mpi3mr: Add bsg device support
authorSumit Saxena <sumit.saxena@broadcom.com>
Fri, 29 Apr 2022 21:16:34 +0000 (17:16 -0400)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 2 May 2022 21:02:41 +0000 (17:02 -0400)
commit9c852ecd7ca5a869ee3dfb7012f9a570b05efefb
treee78ae56f1ef18b4af6fec4f54873e54fce6fd5fc
parent6bdbb0a0113d0d73c25a5152fdadd1f7c3960c4b
scsi: mpi3mr: Add bsg device support

Create bsg device per controller for controller management purposes.

bsg device nodes will be named /dev/bsg/mpi3mrctl0, /dev/bsg/mpi3mrctl1,
etc.

Link: https://lore.kernel.org/r/20220429211641.642010-2-sumit.saxena@broadcom.com
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mpi3mr/Kconfig
drivers/scsi/mpi3mr/Makefile
drivers/scsi/mpi3mr/mpi3mr.h
drivers/scsi/mpi3mr/mpi3mr_app.c [new file with mode: 0644]
drivers/scsi/mpi3mr/mpi3mr_os.c