From owner-freebsd-scsi@FreeBSD.ORG Wed Aug 6 23:27:02 2008 Return-Path: Delivered-To: freebsd-scsi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 94330106564A for ; Wed, 6 Aug 2008 23:27:02 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-scsi@FreeBSD.org Date: Wed, 6 Aug 2008 19:26:53 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200808061926.55111.jkim@FreeBSD.org> Cc: Subject: [RFC] SCSI opcode and ASC update X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2008 23:27:02 -0000 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