[haiku-development] Re: SCSI operation size?

  • From: Alexander von Gluck <kallisti5@xxxxxxxxxxx>
  • To: <haiku-development@xxxxxxxxxxxxx>
  • Date: Fri, 08 Jun 2012 10:44:31 -0500

On 08.06.2012 10:32, Alexander von Gluck wrote:
I'm working on adding TRIM code to ahci, and while adding some SCSI operations I noticed something strange...


Does anyone know why our scsi opcode fields are uint8?
http://cgit.haiku-os.org/haiku/tree/headers/private/drivers/scsi_cmds.h

Ha! nevermind.

I was all thrown off looking at this chart:

http://pub.haikungfu.net/scsi_writesame.png

LBA is uint64 , but I thought that chart was 2 -> 3 not 2 -> 9

facepalm.  I need more coffee.

  -- Alex

Other related posts: