From 2b1e38261c19470fd4732905e91f9746895fe46a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 29 Jan 2011 14:27:48 +0000 Subject: [PATCH] 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 --- scst/src/scst_lib.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 5a6ecdbb5..2c81bdcb6 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -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) {