aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Kagan <rkagan@virtuozzo.com>2017-04-26 17:18:06 +0300
committerKevin O'Connor <kevin@koconnor.net>2017-05-02 19:57:04 -0400
commit0a6e0a8ddd3b3654e772268050be4fbee0d88a08 (patch)
tree25bbe2235bc99df3e494624994d34d12df59f5b9
parent8579fd20c89f0bbc258d6eedb993ecb1bf431027 (diff)
downloadseabios-hppa-0a6e0a8ddd3b3654e772268050be4fbee0d88a08.zip
seabios-hppa-0a6e0a8ddd3b3654e772268050be4fbee0d88a08.tar.gz
seabios-hppa-0a6e0a8ddd3b3654e772268050be4fbee0d88a08.tar.bz2
pvscsi: fix the comment about lun enumeration
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>
-rw-r--r--src/hw/pvscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/pvscsi.c b/src/hw/pvscsi.c
index cd4046c..7c850a9 100644
--- a/src/hw/pvscsi.c
+++ b/src/hw/pvscsi.c
@@ -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);
}