PR 607/networking
	* libchip/network/dec21140.c: Made PCI configuration minimum sane
	instead of fully specifying unused PCI features.
This commit is contained in:
Joel Sherrill
2004-09-27 17:34:00 +00:00
parent 844c2732a0
commit cd38196ff1
2 changed files with 9 additions and 8 deletions

View File

@@ -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.

View File

@@ -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