summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-09-27 17:34:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-09-27 17:34:00 +0000
commitcd38196ff141ea4a9494b133c4ee84ce3629cfd3 (patch)
tree26d00024bb52824dec579f39cc2061fb15508c34
parent2004-04-09 Greg Menke <gregory.menke@gsfc.nasa.gov> (diff)
downloadrtems-cd38196ff141ea4a9494b133c4ee84ce3629cfd3.tar.bz2
2004-04-09 Greg Menke <gregory.menke@gsfc.nasa.gov>
PR 607/networking * libchip/network/dec21140.c: Made PCI configuration minimum sane instead of fully specifying unused PCI features.
-rw-r--r--c/src/ChangeLog6
-rw-r--r--c/src/libchip/network/dec21140.c11
2 files changed, 9 insertions, 8 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index c4dc9ca9ab..8165052a9a 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,3 +1,9 @@
+2004-04-09 Greg Menke <gregory.menke@gsfc.nasa.gov>
+
+ PR 607/networking
+ * libchip/network/dec21140.c: Made PCI configuration minimum sane
+ instead of fully specifying unused PCI features.
+
2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Require automake > 1.9.
diff --git a/c/src/libchip/network/dec21140.c b/c/src/libchip/network/dec21140.c
index 561b36dbe6..06e10dbee1 100644
--- a/c/src/libchip/network/dec21140.c
+++ b/c/src/libchip/network/dec21140.c
@@ -1193,17 +1193,12 @@ rtems_dec21140_driver_attach (struct rtems_bsdnet_ifconfig *config, int attach)
#if defined(__PPC__)
pci_write_config_word(pbus, pdev, pfun,
- PCI_COMMAND,
- (uint16_t) ( PCI_COMMAND_MEMORY |
- PCI_COMMAND_MASTER |
- PCI_COMMAND_INVALIDATE |
- PCI_COMMAND_WAIT |
- PCI_COMMAND_FAST_BACK ) );
#endif
#if defined(__i386__)
- pcib_conf_write16(signature, 0x04, ( 0x2 | 0x4 | 0x10 | 0x80 | 0x200) );
+ pcib_conf_write16(signature,
#endif
-
+ PCI_COMMAND,
+ (uint16_t) ( PCI_COMMAND_IO | PCI_COMMAND_MEMORY | PCI_COMMAND_MASTER ) );
/*
** Store the interrupt name, we'll use it later when we initialize