Changeset ac8f462 in rtems


Ignore:
Timestamp:
Nov 10, 2004, 11:53:09 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bd6566e6
Parents:
a84392d
Message:

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

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

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    ra84392d rac8f462  
     12004-11-10      Richard Campbell <richard.campbell@oarcorp.com>
     2
     3        * libchip/network/dec21140.c: Cleanup a bit and remove message about
     4        not supported on PowerPC since it works on the MVME2100 BSP.
     5
    162004-11-05      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • c/src/libchip/network/dec21140.c

    ra84392d rac8f462  
    1313 * [22.05.2000,StWi/CWA] added support for the DEC/Intel 21143 chip
    1414 *
    15  * The 21143 support is (for now) only available for the __i386 target,
    16  * because that's the only testing platform I have. It should (to my best
    17  * knowledge) work in the same way for the "__PPC" target, but someone
    18  * should test this first before it's put into the code. Thanks go to
    19  * Andrew Klossner who provided the vital information about the
    20  * Intel 21143 chip.
    21  * (FWIW: I tested this driver using a Kingston KNE100TX with 21143PD chip)
     15 * Thanks go to Andrew Klossner who provided the vital information about the
     16 * Intel 21143 chip.  FWIW: The 21143 additions to this driver were initially
     17 * tested with a PC386 BSP using a Kingston KNE100TX with 21143PD chip.
    2218 *
    2319 * The driver will automatically detect whether there is a 21140 or 21143
     
    2521 * look for the 21140 first. If the 21140 is not found the driver will
    2622 * look for the 21143.
     23 *
     24 * 2004-11-10, Joel/Richard - 21143 support works on MVME2100.
    2725 * ------------------------------------------------------------------------
    2826 *
     
    6361#endif
    6462#if defined(__PPC__)
    65 #include <bsp/pci.h>
    6663#include <libcpu/byteorder.h>
    6764#include <libcpu/io.h>
     
    630627   sc->irqInfo.isOn = dec21140IsOn;
    631628
     629#ifdef DEC_DEBUG
     630   printk( "dec2114x: Installing IRQ %d\n", sc->irqInfo.name );
     631#endif
    632632#ifdef BSP_SHARED_HANDLER_SUPPORT
    633633   st = BSP_install_rtems_shared_irq_handler( &sc->irqInfo );
     
    10291029    * from the user.
    10301030    */
    1031    if( (unitNumber = rtems_bsdnet_parse_driver_name( config, &unitName)) == -1 )
     1031   if( (unitNumber = rtems_bsdnet_parse_driver_name(config, &unitName)) == -1 )
    10321032   {
    10331033      return 0;
     
    10801080                             unitNumber-1, &pbus, &pdev, &pfun) != -1 )
    10811081      {
    1082          printk("dec21143 : found device '%s', PPC support has not been tested.  Using it anyway.\n",
    1083                 config->name );
    10841082
    10851083         pci_write_config_dword(pbus,
     
    11771175
    11781176   tmp = (unsigned int)(lvalue & (unsigned int)(~MEM_MASK))
    1179       + (unsigned int)PCI_MEM_BASE;
     1177      + (unsigned int)PCI_MEM_BASE_ADJUSTMENT;
    11801178
    11811179   sc->base = (unsigned int *)(tmp);
     
    12101208
    12111209
    1212    /* printk("dec2114x : unit %d base address %08x.\n", unitNumber, sc->base ); */
     1210#ifdef DEC_DEBUG
     1211   printk("dec2114x : unit %d base address %08x.\n", unitNumber, sc->base );
     1212#endif
    12131213
    12141214
Note: See TracChangeset for help on using the changeset viewer.