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 (below) and still allows the target 64 to be
found correctly on VMware ESXi.
As a side note, getting 65 on VMware Workstation still does not look
correct as the GUI allows only 16 targets per adapter (those are created
automatically in WS when assigning the target).
While here, print the maximum number of targets.
kernel: (probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an error kernel: (probe36:pvscsi0:0:65:0): Retrying command, 3 more tries remain kernel: (probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an error kernel: (probe36:pvscsi0:0:65:0): Retrying command, 2 more tries remain kernel: (probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an error kernel: (probe36:pvscsi0:0:65:0): Retrying command, 1 more tries remain kernel: (probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an error kernel: (probe36:pvscsi0:0:65:0): Retrying command, 0 more tries remain kernel: (probe36:pvscsi0:0:65:0): INQUIRY. CDB: 12 00 00 00 24 00 kernel: (probe36:pvscsi0:0:65:0): CAM status: CCB request completed with an error kernel: (probe36:pvscsi0:0:65:0): Error 5, Retries exhausted