[RFC] SCSI opcode and ASC update

Jung-uk Kim jkim at FreeBSD.org
Wed Aug 6 23:27:02 UTC 2008


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?

Thanks,

Jung-uk Kim


More information about the freebsd-scsi mailing list