+55
−0
+12
−0
+31
−0
Loading
Userspace will need to know some details about the fwctl interface being used to locate the correct userspace code to communicate with the kernel. Provide a simple device_type enum indicating what the kernel driver is. Allow the device to provide a device specific info struct that contains any additional information that the driver may need to provide to userspace. Link: https://patch.msgid.link/r/3-v5-642aa0c94070+4447f-fwctl_jgg@nvidia.com Reviewed-by:Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by:
Dave Jiang <dave.jiang@intel.com> Reviewed-by:
Shannon Nelson <shannon.nelson@amd.com> Tested-by:
Dave Jiang <dave.jiang@intel.com> Tested-by:
Shannon Nelson <shannon.nelson@amd.com> Signed-off-by:
Jason Gunthorpe <jgg@nvidia.com>