summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 20:13:18 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2002-10-31 20:13:18 +0000
commitc22aeb4ea33820b855dbf15114a16cfd59abf362 (patch)
tree2b1d355a1df5c8fff60f3c8ffaa5f1d8013de6ba
parentcebb89be7125c65b6f81f4e91ce26e940389c1db (diff)
downloadrtems-c22aeb4ea33820b855dbf15114a16cfd59abf362.tar.bz2
2002-10-31 Joel Sherrill <joel@OARcorp.com>
* network/dec21140.c: Removed warnings.
-rw-r--r--c/src/libchip/ChangeLog4
-rw-r--r--c/src/libchip/network/dec21140.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/c/src/libchip/ChangeLog b/c/src/libchip/ChangeLog
index da0ba7b302..a1b8a62a1c 100644
--- a/c/src/libchip/ChangeLog
+++ b/c/src/libchip/ChangeLog
@@ -1,3 +1,7 @@
+2002-10-31 Joel Sherrill <joel@OARcorp.com>
+
+ * network/dec21140.c: Removed warnings.
+
2002-10-28 Eugeny S. Mints <Eugeny.Mints@oktet.ru>
* New files: New directory ide/, ide/Makefile.am, ide/ide_ctrl_cfg.h,
diff --git a/c/src/libchip/network/dec21140.c b/c/src/libchip/network/dec21140.c
index c8a487af1e..7ec952f70e 100644
--- a/c/src/libchip/network/dec21140.c
+++ b/c/src/libchip/network/dec21140.c
@@ -58,6 +58,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <rtems/error.h>
+#include <rtems/bspIo.h>
#include <rtems/rtems_bsdnet.h>
#include <sys/param.h>
@@ -774,7 +775,9 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
struct ifnet *ifp;
int mtu;
int i;
+#if defined(__i386__)
int deviceId = PCI_DEVICE_ID_DEC_21140; /* network card device ID */
+#endif
/*
* First, find a DEC board