[RFC] SCSI opcode and ASC update

Scott Long scottl at samsco.org
Thu Aug 7 00:21:42 UTC 2008


Jung-uk Kim wrote:
> I found that we have very very old opcodes and ASC numbers in 
> sys/cam/scsi/scsi_all.c.  ken@ touched few ASCs five years ago but 
> they are pretty much the same since the beginning of the file (almost 
> ten years now).  The latest op-num.txt and asc-num.txt are available 
> from here:
> 
> http://www.t10.org/lists/op-num.txt
> http://www.t10.org/lists/asc-num.txt
> 
> I made a patch to merge the changes from these files:
> 
> http://people.freebsd.org/~jkim/scsi_all.diff
> 
> Now the problem is there are almost 300 new ASCs and I am not sure 
> what to do with them.  For now, they do SS_RDEF and all are marked 
> with 'XXX TBD' for now.  Is there anyone interested in setting them 
> correctly?  Don't we want to separate them into header files, e.g., 
> scsi_opcode.h and scsi_asc.h?  Do we really care or did I just waste 
> my time?
> 

Wow, nice work.  I think it's fine to commit as-is with the XXX
markers for the new SS_RDEF entries.  Over time we can refine those
as needed.

Scott



More information about the freebsd-scsi mailing list