From cd38196ff141ea4a9494b133c4ee84ce3629cfd3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 27 Sep 2004 17:34:00 +0000 Subject: 2004-04-09 Greg Menke PR 607/networking * libchip/network/dec21140.c: Made PCI configuration minimum sane instead of fully specifying unused PCI features. --- c/src/ChangeLog | 6 ++++++ c/src/libchip/network/dec21140.c | 11 +++-------- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'c/src') 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 + + PR 607/networking + * libchip/network/dec21140.c: Made PCI configuration minimum sane + instead of fully specifying unused PCI features. + 2004-09-24 Ralf Corsepius * 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 -- cgit v1.2.3