nsp_debug.c (7a9787e1eba95a166265e6a260cf30af04ef0a99) nsp_debug.c (70f23fd66bc821a0e99647f70a809e277cc93c4c)
1/*========================================================================
2 Debug routines for nsp_cs
3 By: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
4
5 This software may be used and distributed according to the terms of
6 the GNU General Public License.
7=========================================================================*/
8
9/* $Id: nsp_debug.c,v 1.3 2003/07/26 14:21:09 elca Exp $ */
10
11/*
12 * Show the command data of a command
13 */
14static const char unknown[] = "UNKNOWN";
15
16static const char * group_0_commands[] = {
17/* 00-03 */ "Test Unit Ready", "Rezero Unit", unknown, "Request Sense",
1/*========================================================================
2 Debug routines for nsp_cs
3 By: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
4
5 This software may be used and distributed according to the terms of
6 the GNU General Public License.
7=========================================================================*/
8
9/* $Id: nsp_debug.c,v 1.3 2003/07/26 14:21:09 elca Exp $ */
10
11/*
12 * Show the command data of a command
13 */
14static const char unknown[] = "UNKNOWN";
15
16static const char * group_0_commands[] = {
17/* 00-03 */ "Test Unit Ready", "Rezero Unit", unknown, "Request Sense",
18/* 04-07 */ "Format Unit", "Read Block Limits", unknown, "Reasssign Blocks",
18/* 04-07 */ "Format Unit", "Read Block Limits", unknown, "Reassign Blocks",
19/* 08-0d */ "Read (6)", unknown, "Write (6)", "Seek (6)", unknown, unknown,
20/* 0e-12 */ unknown, "Read Reverse", "Write Filemarks", "Space", "Inquiry",
21/* 13-16 */ unknown, "Recover Buffered Data", "Mode Select", "Reserve",
22/* 17-1b */ "Release", "Copy", "Erase", "Mode Sense", "Start/Stop Unit",
23/* 1c-1d */ "Receive Diagnostic", "Send Diagnostic",
24/* 1e-1f */ "Prevent/Allow Medium Removal", unknown,
25};
26

--- 189 unchanged lines hidden ---
19/* 08-0d */ "Read (6)", unknown, "Write (6)", "Seek (6)", unknown, unknown,
20/* 0e-12 */ unknown, "Read Reverse", "Write Filemarks", "Space", "Inquiry",
21/* 13-16 */ unknown, "Recover Buffered Data", "Mode Select", "Reserve",
22/* 17-1b */ "Release", "Copy", "Erase", "Mode Sense", "Start/Stop Unit",
23/* 1c-1d */ "Receive Diagnostic", "Send Diagnostic",
24/* 1e-1f */ "Prevent/Allow Medium Removal", unknown,
25};
26

--- 189 unchanged lines hidden ---