Changeset b90855c in rtems


Ignore:
Timestamp:
Nov 10, 2004, 10:27:55 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
d700909e
Parents:
0b929fe
Message:

2004-11-10 Richard Campbell <richard.campbell@…>

  • network/dec21140.c: Cleanup a bit and remove message about not supported on PowerPC since it works on the MVME2100 BSP.
Location:
c/src/libchip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/libchip/ChangeLog

    r0b929fe rb90855c  
     12004-11-10      Richard Campbell <richard.campbell@oarcorp.com>
     2
     3        * network/dec21140.c: Cleanup a bit and remove message about not
     4        supported on PowerPC since it works on the MVME2100 BSP.
     5
    162004-11-10      Joel Sherrill <joel@oarcorp.com>
    27
  • c/src/libchip/network/dec21140.c

    r0b929fe rb90855c  
    628628   sc->irqInfo.isOn = dec21140IsOn;
    629629
     630#ifdef DEC_DEBUG
     631   printk( "dec2114x: Installing IRQ %d\n", sc->irqInfo.name );
     632#endif
    630633#ifdef BSP_SHARED_HANDLER_SUPPORT
    631634   st = BSP_install_rtems_shared_irq_handler( &sc->irqInfo );
     
    10271030    * from the user.
    10281031    */
    1029    if( (unitNumber = rtems_bsdnet_parse_driver_name( config, &unitName)) == -1 )
     1032   if( (unitNumber = rtems_bsdnet_parse_driver_name(config, &unitName)) == -1 )
    10301033   {
    10311034      return 0;
     
    10781081                             unitNumber-1, &pbus, &pdev, &pfun) != -1 )
    10791082      {
    1080          printk("dec21143 : found device '%s', PPC support has not been tested.  Using it anyway.\n",
    1081                 config->name );
    1082 
    10831083         pci_write_config_dword(pbus,
    10841084                                pdev,
     
    11551155   else
    11561156      sc->base = (unsigned int *)(value & ~MEM_MASK);
    1157        
     1157
    11581158   pcib_conf_read8(signature, 60, &interrupt);
    11591159   cvalue = interrupt;
     
    11741174                               &lvalue);
    11751175
    1176    tmp = (unsigned int)(lvalue & (unsigned int)(~MEM_MASK)) + (unsigned int)PCI_MEM_BASE;
     1176   tmp = (unsigned int)(lvalue & (unsigned int)(~MEM_MASK))
     1177      + (unsigned int)PCI_MEM_BASE_ADJUSTMENT;
    11771178
    11781179   sc->base = (unsigned int *)(tmp);
     
    12101211
    12111212
    1212    /* printk("dec2114x : unit %d base address %08x.\n", unitNumber, sc->base ); */
     1213#ifdef DEC_DEBUG
     1214   printk("dec2114x : unit %d base address %08x.\n", unitNumber, sc->base );
     1215#endif
    12131216
    12141217
Note: See TracChangeset for help on using the changeset viewer.