Changeset d3f0606 in rtems for c/src/libchip/network/dec21140.c


Ignore:
Timestamp:
Sep 27, 2004, 5:33:07 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
5ef84356
Parents:
8ad28737
Message:

2004-04-09 Greg Menke <gregory.menke@…>

PR 607/networking

  • network/dec21140.c: Made PCI configuration minimum sane instead of fully specifying unused PCI features.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/network/dec21140.c

    r8ad28737 rd3f0606  
    11741174                               &lvalue);
    11751175
    1176    tmp = (unsigned int)(lvalue & (unsigned int)(~MEM_MASK))
    1177       + (unsigned int)PCI_MEM_BASE;
     1176   tmp = (unsigned int)(lvalue & (unsigned int)(~MEM_MASK)) + (unsigned int)PCI_MEM_BASE;
    11781177
    11791178   sc->base = (unsigned int *)(tmp);
     
    11941193   pci_write_config_word(pbus, pdev, pfun,
    11951194                         PCI_COMMAND,
    1196                          (unsigned16) ( PCI_COMMAND_MEMORY |
    1197                                         PCI_COMMAND_MASTER |
    1198                                         PCI_COMMAND_INVALIDATE |
    1199                                         PCI_COMMAND_WAIT |
    1200                                         PCI_COMMAND_FAST_BACK ) );
     1195                         (unsigned16) ( PCI_COMMAND_IO |
     1196                                        PCI_COMMAND_MEMORY |
     1197                                        PCI_COMMAND_MASTER ) );
    12011198#endif
    12021199#if defined(__i386__)
Note: See TracChangeset for help on using the changeset viewer.