mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
scst core: Updated scst_unpack_lun() comment because of flat addressing support.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3242 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+3
-4
@@ -5226,10 +5226,9 @@ __be64 scst_pack_lun(const uint64_t lun, enum scst_lun_addr_method addr_method)
|
||||
}
|
||||
|
||||
/*
|
||||
* Routine to extract a lun number from an 8-byte LUN structure
|
||||
* in network byte order (BE).
|
||||
* (see SAM-2, Section 4.12.3 page 40)
|
||||
* Supports 2 types of lun unpacking: peripheral and logical unit.
|
||||
* Function to extract a LUN number from an 8-byte LUN structure in network byte
|
||||
* order (big endian). Supports three LUN addressing methods: peripheral, flat
|
||||
* and logical unit. See also SAM-2, section 4.9.4 (page 40).
|
||||
*/
|
||||
uint64_t scst_unpack_lun(const uint8_t *lun, int len)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user