mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
VMWare ESX reports > 16 targets for the LSI-Logic
U320 model it emulates. Then it crashes and burns when you probe that high.
This commit is contained in:
parent
5ce1b00496
commit
8ca0124685
1 changed files with 6 additions and 0 deletions
|
|
@ -3024,6 +3024,12 @@ mpt_action(struct cam_sim *sim, union ccb *ccb)
|
|||
*/
|
||||
if (cpi->max_target > 255)
|
||||
cpi->max_target = 255;
|
||||
/*
|
||||
* XXX: VMware ESX reports > 16 devices and then dies
|
||||
* XXX: when we probe.
|
||||
*/
|
||||
if (mpt->is_spi && cpi->max_target > 15)
|
||||
cpi->max_target = 15;
|
||||
cpi->max_lun = 7;
|
||||
cpi->initiator_id = mpt->mpt_ini_id;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue