freebsd-dev/sys/dev/vmware
Yuri Pankov 6abf81b3d6 pvscsi: maximum target number is one less than number of targets
Fix the number of targets we inquiry to be one less than the maximum
number of targets adapter reports.  This gets rid of the errors reported
on VMware Workstation:

(probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00
(probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an error

While here, print the maximum number of targets.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D39867
2023-05-05 11:51:44 +02:00
..
pvscsi pvscsi: maximum target number is one less than number of targets 2023-05-05 11:51:44 +02:00
vmci vmci(4): Correct some typos in source code comments 2022-09-04 13:28:47 +02:00
vmxnet3 Convert iflib(4) and iflib-based drivers to the DrvAPI 2022-12-21 09:20:06 -05:00