]> xenbits.xensource.com Git - seabios.git/commitdiff
pvscsi: fix the comment about lun enumeration
authorRoman Kagan <rkagan@virtuozzo.com>
Wed, 26 Apr 2017 14:18:06 +0000 (17:18 +0300)
committerKevin O'Connor <kevin@koconnor.net>
Tue, 2 May 2017 23:57:04 +0000 (19:57 -0400)
The comment in pvscsi_scan_target (presumably c&p-ed from another
driver) reads that REPORTS LUNS should better be used to enumerate the
luns on the target.

However, according to the Linux driver, the device supports no more than
a single lun per target.

So adjust the comment to tell exactly that.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
src/hw/pvscsi.c

index cd4046c1b468b3a076c8b30291e69bb9a172f35b..7c850a95cb678bf65ed354ffef3e2998a3b570fd 100644 (file)
@@ -290,7 +290,7 @@ static void
 pvscsi_scan_target(struct pci_device *pci, void *iobase,
                    struct pvscsi_ring_dsc_s *ring_dsc, u8 target)
 {
-    /* TODO: send REPORT LUNS.  For now, only LUN 0 is recognized.  */
+    /* pvscsi has no more than a single lun per target */
     pvscsi_add_lun(pci, iobase, ring_dsc, target, 0);
 }