forked from Imagelibrary/rtems
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.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user