Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci * Add __unused___ to lmc_system_errors, since it...
details: https://anonhg.NetBSD.org/src/rev/f0ab2e9bf538
branches: trunk
changeset: 532119:f0ab2e9bf538
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri May 31 17:53:03 2002 +0000
description:
* Add __unused___ to lmc_system_errors, since it is not used by
everything which includes if_lmcvar.h.
* #if 0 lmc_status_bits, since it's not used by anything.
diffstat:
sys/dev/pci/if_lmcvar.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r b358f189d94a -r f0ab2e9bf538 sys/dev/pci/if_lmcvar.h
--- a/sys/dev/pci/if_lmcvar.h Fri May 31 17:46:51 2002 +0000
+++ b/sys/dev/pci/if_lmcvar.h Fri May 31 17:53:03 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_lmcvar.h,v 1.8 2001/08/27 17:47:36 eeh Exp $ */
+/* $NetBSD: if_lmcvar.h,v 1.9 2002/05/31 17:53:03 thorpej Exp $ */
/*-
* Copyright (c) 1997-1999 LAN Media Corporation (LMC)
@@ -496,7 +496,7 @@
#define LMC_HAVE_STOREFWD 0x00008000 /* have CMD_STOREFWD */
#define LMC_HAVE_SIA100 0x00010000 /* has LS100 in SIA status */
-static const char * const lmc_system_errors[] = {
+static const char * const lmc_system_errors[] __attribute__((__unused__)) = {
"parity error",
"master abort",
"target abort",
@@ -507,6 +507,7 @@
"reserved #7",
};
+#if 0
static const char * const lmc_status_bits[] = {
NULL,
"transmit process stopped",
@@ -527,6 +528,7 @@
NULL,
NULL,
};
+#endif
/*
* This driver supports a maximum of 32 tulip boards.
Home |
Main Index |
Thread Index |
Old Index