READ CAPACITY (16) turns out to be an optional command (even though
authorMichael Brown <mcb30@etherboot.org>
Fri, 19 May 2006 18:54:38 +0000 (18:54 +0000)
committerMichael Brown <mcb30@etherboot.org>
Fri, 19 May 2006 18:54:38 +0000 (18:54 +0000)
commit402ba15c6449f8dc7d5a31a04a9d7eb2eef330a3
tree8c0f8e9ba74254f3a798539a3214bd23ecd6b897
parent444b885a7dfaaf4132c440b75018b59990cbfcd5
READ CAPACITY (16) turns out to be an optional command (even though
READ(16) is mandatory); we must use READ CAPACITY (10) first and then
use READ CAPACITY (16) if the READ CAPACITY (10) returns "out of range".
src/drivers/block/scsi.c
src/include/gpxe/scsi.h