freebsd-dev/sys/dev
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
..
aac
aacraid
acpi_support
acpica acpi_button: Replace boolean_t with better types. 2023-05-04 12:32:09 -07:00
adb
adlink
ae
age
agp
ahci
aic7xxx
al_eth al: Replace boolean_t with either al_bool or bool. 2023-05-04 12:32:40 -07:00
alc
ale
alpm
altera altera: Fix build from 068f2c0e10 2023-03-07 12:00:00 -05:00
amd_ecc_inject
amdgpio
amdpm
amdsbwd
amdsmb
amdsmn
amdtemp
arcmsr arcmsr(4): Fix reading buffer empty length error. 2023-03-31 22:43:43 -07:00
asmc
ata
ath
atkbdc kbdreg.h: include opt_kbd.h 2023-02-27 07:37:32 -07:00
axgbe
backlight
bce
beri
bfe
bge
bhnd
bnxt
bwi
bwn
bxe bxe: prefer C99 bool to boolean_t 2023-05-01 16:23:39 -04:00
cadence
cardbus
cas
cesa
cfe
cfi
chromebook_platform
ciss
coretemp
cpuctl
cpufreq
cxgb Mechanically convert cxgb(4) and cxgbe(4) to IfAPI 2023-03-07 15:31:48 -05:00
cxgbe pmap_{un}map_io_transient: Use bool instead of boolean_t. 2023-05-04 12:29:48 -07:00
cyapa
dc
dcons
dialog/da9063
dpaa dtsec: Complete mechanical conversion to IfAPI 2023-03-11 11:34:42 -05:00
dpaa2 dpaa2: Replace boolean_t with bool. 2023-05-04 12:32:57 -07:00
dpms
drm2
dwc dwc(4): Use bool rather than boolean_t. 2023-05-04 12:33:20 -07:00
dwwdt
e1000
efidev Expose EFI wake time API 2023-04-28 04:27:55 +03:00
ena net: replace IFF_KNOWSEPOCH with IFF_NEEDSEPOCH 2023-04-17 09:08:35 -07:00
enetc
enic
eqos eqos: Mechanically convert to IfAPI 2023-03-08 10:18:16 -05:00
et
etherswitch
evdev
exca
extres
fb fb: whack __mips__ leftovers 2023-03-01 11:40:38 +00:00
fdc
fdt ofw_cpu_early_foreach: Change callback to return bool instead of boolean_t. 2023-05-04 12:33:39 -07:00
ffec
filemon
firewire
firmware/arm scmi: Suppress a couple of -Wunused-function warnings 2023-02-24 13:44:52 -05:00
flash flash: Add "n25q64" to mx25l driver 2023-04-18 00:21:17 -04:00
ftgpio ftgpio: Fix panic at attach and use better device description 2023-03-02 08:17:04 -07:00
ftwd
fxp
gem gem(4): Remove onboard-only Sun ERI and remnants of SBus support 2023-04-18 19:17:24 +02:00
glxiic
glxsb
goldfish
gpio
hdmi arm: Rename hdmi_if.m to crtc_if.m 2023-03-17 13:34:57 +01:00
hid bcm5974(4): Make Magic Trackpad 2 support endian-safe. 2023-04-25 12:20:53 +03:00
hifn
hpt27xx
hptiop
hptmv
hptnr
hptrr
hwpmc hwpmc: Fix a typo 2023-05-01 11:40:29 -04:00
hyperv Mechanically convert if_hn(4) to IfAPI 2023-05-02 14:34:47 -04:00
iavf
ic
ice ice(4): Use the existing CTLFLAG_RWTUN flag definition 2023-04-12 12:20:38 +08:00
ichiic ichiic: use bool for one-bit wide bit-fields 2023-04-19 22:25:50 +02:00
ichsmb
ichwd
ida
igc
iicbus iicbus(4): Use the existing CTLFLAG_RWTUN flag definition 2023-04-12 12:20:38 +08:00
imcsmb
intel intelspi: add PCI attachment (Lynx/Wildcat/Sunrise Point) 2023-04-24 12:41:52 +03:00
intpm
io
ioat
iommu
ipmi ipmi: Remove some dead code for unsupported BMCs. 2023-04-10 10:30:54 -07:00
ips
ipw
irdma irdma: Silence an unused function warning 2023-04-26 09:36:52 -04:00
isci
iscsi
iser
isl
ismt
isp
ispfw
itwd
iwi
iwm
iwn
ixgbe ixgbe: Fix typos in source code comments 2023-04-28 18:01:58 +08:00
ixl
jedec_dimm jedec_dimm(4): Refactor offset adjustment and page0 reset 2023-04-28 10:53:55 -07:00
jme
kbd kbdreg.h: include opt_kbd.h 2023-02-27 07:37:32 -07:00
kbdmux
ksyms
kvm_clock
le
led
lge
liquidio
mailbox/arm
malo
mana
mbox
md
mdio
mem
mfi
mgb
mge
mii
mlx
mlx4
mlx5 mlx5en(4): Don't wait for receive queue to fill up with mbufs during open channels. 2023-04-18 15:01:07 +02:00
mlxfw mlxfw: fix potential NULL pointer dereference 2023-04-04 15:27:46 -05:00
mmc mmc(4): Don't call bridge driver for timings not requiring tuning 2023-04-18 19:17:24 +02:00
mmcnull
mpr mpr: don't use hardcoded value in debug branch 2023-04-21 10:01:38 +02:00
mps mps: Fix a typo in a source code comment 2023-04-28 18:01:58 +08:00
mpt
mrsas mrsas(4) switch from PTRIN define to include sys/abi_compat.h 2023-04-28 13:51:20 -07:00
msk
mthca
mvs
mwl
mxge
my
nctgpio
neta
netmap netmap: Handle packet batches in generic mode 2023-04-05 17:07:48 -04:00
nfe
nfsmb
nge
nmdm
ntb
null
nvd
nvdimm Fix Coverity issue in the NVDIMM driver 2023-02-22 20:42:12 -06:00
nvme Add NAMESPACE MANAGEMENT into admin_opcode[]. 2023-03-08 15:42:31 -05:00
nvram
oce net: replace IFF_KNOWSEPOCH with IFF_NEEDSEPOCH 2023-04-17 09:08:35 -07:00
ocs_fc
ofw ofw_cpu_early_foreach: Change callback to return bool instead of boolean_t. 2023-05-04 12:33:39 -07:00
otus Use bool for one-bit wide bit-fields 2023-04-25 19:26:03 +02:00
ow
p2sb
pbio
pccard
pccbb
pcf
pci Clean up PCI DEN0115 driver probing 2023-04-24 16:34:21 +01:00
pms
powermac_nvram
ppbus
ppc
proto
psci Add PSCI affinity info return values 2023-03-16 13:08:00 +00:00
pst
pty
puc Use bool for one-bit wide bit-fields 2023-04-25 19:26:03 +02:00
pwm
qat
qat_c2xxx
qcom_clk
qcom_dwc3
qcom_gcc
qcom_mdio
qcom_qup
qcom_rnd
qcom_tcsr
qcom_tlmm
qlnx Mechanically convert qlnx(4) to IfAPI 2023-03-24 10:09:53 -04:00
qlxgb Mechanically convert qlxgb(4) to IfAPI 2023-03-07 15:31:48 -05:00
qlxgbe Mechanically convert qlxgbe(4) to IfAPI 2023-03-07 15:31:48 -05:00
qlxge Mechanically convert qlxge(4) to IfAPI 2023-03-07 15:31:48 -05:00
quicc Use bool for one-bit wide bit-fields 2023-04-25 19:26:03 +02:00
ral
random
rccgpio
re if_re: Drop redundant assignments for ifq_maxlen and ifq_drv_maxlen 2023-03-21 12:29:24 +08:00
rl
rndtest
rtsx rtsx: Add plug-and-play info 2023-04-13 11:12:50 -03:00
rtwn
safe
safexcel
sbni
scc Use bool for one-bit wide bit-fields 2023-04-25 19:26:03 +02:00
sdhci mmc(4): Don't call bridge driver for timings not requiring tuning 2023-04-18 19:17:24 +02:00
sdio
sec
sfxge
sge
siis
sis
sk
smartpqi
smbios x86: gate smbios hypervisor identification behind vm_guest 2023-03-17 00:54:32 -05:00
smbus
smc
snp
sound
speaker
spibus spibus: extend API: add cs_delay ivar, KEEP_CS and NO_SLEEP flags 2023-04-24 12:41:52 +03:00
sram
ste
stge
sume
superio superio,ftgpio: Add support for Fintek F81865 GPIO 2023-02-28 10:17:53 -07:00
sym
syscons syscons: whack __mips__ leftovers 2023-03-01 11:11:46 +00:00
tcp_log
tdfx
ti
tpm
tsec
twe
tws
uart Use bool for one-bit wide bit-fields 2023-04-25 19:26:03 +02:00
usb bcm5974(4): add Magic Trackpad 2 (USB only) support 2023-04-25 12:20:53 +03:00
veriexec veriexec: Rename old VERIEXEC_SIGNED_LOAD as VERIEXEC_SIGNED_LOAD32 2023-04-17 11:47:32 -04:00
vge
viapm
viawd
video arm: Rename hdmi_if.m to crtc_if.m 2023-03-17 13:34:57 +01:00
videomode
virtio net: replace IFF_KNOWSEPOCH with IFF_NEEDSEPOCH 2023-04-17 09:08:35 -07:00
vkbd
vmd
vmgenc
vmware pvscsi: maximum target number is one less than number of targets 2023-05-05 11:51:44 +02:00
vnic thunderx: fix potential sign extension issue 2023-03-01 09:48:17 -05:00
vr
vt Add a simple-framebuffer vt driver 2023-04-26 00:44:48 -05:00
vte
watchdog
wbwd
wdatwd
wg wg: change module name to if_wg 2023-04-29 18:30:24 +02:00
wpi Use bool for one-bit wide bit-fields 2023-04-25 19:26:03 +02:00
wtap
xdma
xen Mechanically convert Xen netfront/netback(4) to IfAPI 2023-04-24 09:54:23 -04:00
xilinx
xl
xz
zlib