mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Fix max lun detection
This commit is contained in:
parent
84c2fa28ec
commit
6ff21d66ed
1 changed files with 1 additions and 0 deletions
|
@ -1225,6 +1225,7 @@ class firehose(metaclass=LogBase):
|
||||||
self.cfg.total_blocks = si["total_blocks"]
|
self.cfg.total_blocks = si["total_blocks"]
|
||||||
if "num_physical" in si:
|
if "num_physical" in si:
|
||||||
self.cfg.num_physical = si["num_physical"]
|
self.cfg.num_physical = si["num_physical"]
|
||||||
|
self.cfg.maxlun = self.cfg.num_physical
|
||||||
if "block_size" in si:
|
if "block_size" in si:
|
||||||
self.cfg.block_size = si["block_size"]
|
self.cfg.block_size = si["block_size"]
|
||||||
if "page_size" in si:
|
if "page_size" in si:
|
||||||
|
|
Loading…
Reference in a new issue