Module Name:    src
Committed By:   joerg
Date:           Sat Sep 14 13:12:04 UTC 2013

Modified Files:
        src/sys/dev/pci: twa.c

Log Message:
Comment out twa_error_table, but keep it around for documentation
purposes.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/dev/pci/twa.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/twa.c
diff -u src/sys/dev/pci/twa.c:1.43 src/sys/dev/pci/twa.c:1.44
--- src/sys/dev/pci/twa.c:1.43	Fri Nov  2 14:59:11 2012
+++ src/sys/dev/pci/twa.c	Sat Sep 14 13:12:03 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: twa.c,v 1.43 2012/11/02 14:59:11 chs Exp $ */
+/*	$NetBSD: twa.c,v 1.44 2013/09/14 13:12:03 joerg Exp $ */
 /*	$wasabi: twa.c,v 1.27 2006/07/28 18:17:21 wrstuden Exp $	*/
 
 /*-
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: twa.c,v 1.43 2012/11/02 14:59:11 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: twa.c,v 1.44 2013/09/14 13:12:03 joerg Exp $");
 
 //#define TWA_DEBUG
 
@@ -262,6 +262,7 @@ static const char	*twa_aen_severity_tabl
 	NULL
 };
 
+#if 0
 /* Error messages. */
 static const struct twa_message	twa_error_table[] = {
 	{0x0100, "SGL entry contains zero data"},
@@ -368,7 +369,7 @@ static const struct twa_message	twa_erro
 	{0x0253, "Inadequate disk space to support descriptor in CreateUnit"},
 	{0x0254, "Unable to create data channel for this unit descriptor"},
 	{0x0255, "CreateUnit descriptor specifies a drive already in use"},
-       {0x0256, "Unable to write configuration to all disks during CreateUnit"},
+	{0x0256, "Unable to write configuration to all disks during CreateUnit"},
 	{0x0257, "CreateUnit does not support this descriptor version"},
 	{0x0258, "Invalid subunit for RAID 0 or 5 in CreateUnit"},
 	{0x0259, "Too many descriptors in CreateUnit"},
@@ -378,6 +379,7 @@ static const struct twa_message	twa_erro
 	{0x0260, "SMART attribute exceeded threshold"},
 	{0xFFFFFFFF, NULL}
 };
+#endif
 
 struct twa_pci_identity {
 	uint32_t	vendor_id;

Reply via email to