summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly/mly_tables.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-02-27 23:57:18 +0000
committerpeter <peter@FreeBSD.org>2002-02-27 23:57:18 +0000
commit91d8b9ecd3d0ab3daac927861b5cff6841fa416c (patch)
tree1a4d9bb4b51ac029a926399a5c6b7d541bf51f29 /sys/dev/mly/mly_tables.h
parent285e65540da9d8f5e78a86840896f56d22010ed3 (diff)
downloadFreeBSD-src-91d8b9ecd3d0ab3daac927861b5cff6841fa416c.zip
FreeBSD-src-91d8b9ecd3d0ab3daac927861b5cff6841fa416c.tar.gz
Fix warnings (comment out unused tables that are taking space in the
kernel)
Diffstat (limited to 'sys/dev/mly/mly_tables.h')
-rw-r--r--sys/dev/mly/mly_tables.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/mly/mly_tables.h b/sys/dev/mly/mly_tables.h
index 16c0b75..433a1cb 100644
--- a/sys/dev/mly/mly_tables.h
+++ b/sys/dev/mly/mly_tables.h
@@ -51,6 +51,7 @@ mly_describe_code(struct mly_code_lookup *table, u_int32_t code)
return(table[i+1].string);
}
+#if 0
static struct mly_code_lookup mly_table_bustype[] = {
{"SCSI", 0x00},
{"FC-AL", 0x01},
@@ -58,6 +59,7 @@ static struct mly_code_lookup mly_table_bustype[] = {
{NULL, 0},
{"unknown bus", 0}
};
+#endif
static struct mly_code_lookup mly_table_controllertype[] = {
#if 0 /* not supported by this driver */
@@ -286,6 +288,7 @@ static struct mly_code_lookup mly_table_device_type[] = {
{"UNKNOWN", 0}
};
+#if 0
static struct mly_code_lookup mly_table_stripe_size[] = {
{"NONE", MLY_STRIPE_ZERO},
{"512B", MLY_STRIPE_512b},
@@ -317,3 +320,4 @@ static struct mly_code_lookup mly_table_cacheline_size[] = {
{NULL, 0},
{"unknown", 0}
};
+#endif
OpenPOWER on IntegriCloud