diff options
author | Roman Kagan <rkagan@virtuozzo.com> | 2017-04-26 17:18:09 +0300 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-05-02 19:57:04 -0400 |
commit | 3198c06b7b5457eecf5fbc6fd47fbea300a843e7 (patch) | |
tree | 24392acadcb2717df0304966719d6172e00abadd /src/fw/coreboot.c | |
parent | 11277846e819b9eef3db5ac833a6a47f95f5ef15 (diff) | |
download | seabios-3198c06b7b5457eecf5fbc6fd47fbea300a843e7.tar.gz |
lsi-scsi: try to enumerate luns with REPORT LUNS
Enumerate active luns with REPORT LUNS and, if that fails[*], fall back
to sequentially enumerating them up to (arbitrarily chosen) #8 [**].
[*] in current QEMU, REPORT LUNS does fail in lsi53c895a because the
returned data is smaller than the allocation length which is (wrongly)
considered an underflow
[**] in current QEMU, luns above 0 are not supported in lsi53c895a, so
this patch is here only for completeness.
Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Diffstat (limited to 'src/fw/coreboot.c')
0 files changed, 0 insertions, 0 deletions