summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/if_re
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-20 23:40:00 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-20 23:40:00 +0000
commita4635d8958adcd146e34dc1beb2a1f5f611bf6c7 (patch)
tree19a1eb63faadc7bb70bb51776e5dea34112a74c6 /bsd_eth_drivers/if_re
parent2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de> (diff)
downloadlibbsdport-a4635d8958adcd146e34dc1beb2a1f5f611bf6c7.tar.bz2
2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_re/if_re.c: fixed 'unused variable' warning by commenting via #ifndef __rtems__ (since code which uses the 'msi_disable' var is commented the same way).
Diffstat (limited to 'bsd_eth_drivers/if_re')
-rw-r--r--bsd_eth_drivers/if_re/if_re.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bsd_eth_drivers/if_re/if_re.c b/bsd_eth_drivers/if_re/if_re.c
index e529bcf..e7a9f49 100644
--- a/bsd_eth_drivers/if_re/if_re.c
+++ b/bsd_eth_drivers/if_re/if_re.c
@@ -175,8 +175,10 @@ MODULE_DEPEND(re, miibus, 1, 1, 1);
#endif
/* Tunables. */
+#ifndef __rtems__
static int msi_disable = 0;
TUNABLE_INT("hw.re.msi_disable", &msi_disable);
+#endif
static int prefer_iomap = 0;
TUNABLE_INT("hw.re.prefer_iomap", &prefer_iomap);