diff options
author | Kamaljit Singh <kamaljit.singh@opensource.wdc.com> | 2025-09-06 02:25:49 +0300 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2025-09-24 01:38:28 +0300 |
commit | a5b852797411a65b99b467766a03be8f24284ddc (patch) | |
tree | 06b035ccc9721788a83cd35d6eed61d8164a8592 /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | |
parent | eeaed48980a7aeb0d3d8b438185d4b5a66154ff9 (diff) | |
download | linux-a5b852797411a65b99b467766a03be8f24284ddc.tar.xz |
nvme-core: add method to check for an I/O controller
Add nvme_is_io_ctrl() to check if the controller is of type I/O
controller. Uses negative logic by excluding an administrative
controller and a discovery controller.
Signed-off-by: Kamaljit Singh <kamaljit.singh@opensource.wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions