Ignore:
Timestamp:
May 8, 2009, 6:22:51 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
82948ea1
Parents:
ef3a82f
Message:

2009-05-08 Kate Feng <feng1@…>

PR1395/bsps

  • Updated the changes from RTEMS-4.8.0, which were made since Oct. 2007.
  • network/if_1GHz/if_wm.c: fixed some bugs in the 1GHz driver.
  • pci/pci_interface.c: + Enabled PCI "Read", "Read Line", and "Read Multiple" + Agressive Prefetch to improve the performance of the PCI based

applications (e.g. 1GHz NIC).

  • irq/BSP_irq.c : Replaced the irq/irq.c, and used GT_GPP_Value register to monitor the cause of the level sensitive interrupts. This unique solution solves various bugs in the 1GHz network drivers Fixed bugs in compute_pic_masks_from_prio()
  • pci/pci.c : Updated it to be consistent with the original pci.c
  • written by Eric Valette. There is no change in its function.
  • irq/irq_init.c : set defaultIrq->next_handler to be 0
  • for BSP_SHARED_HANDLER_SUPPORT.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mvme5500/network/if_100MHz/GT64260eth.c

    ref3a82f rcf599996  
    88 * netBSD : Copyright (c) 2002 Allegro Networks, Inc., Wasabi Systems, Inc.
    99 * Marvell : NDA document for the discovery system controller
    10  * The author referenced two RTEMS network drivers of other NICs.
    11  * rtems : 1) dec21140.c, a network driver for for TULIP based Ethernet Controller
    12  *            (C) 1999 Emmanuel Raguet. raguet@crf.canon.fr
    13  *
    14  *         2) yellowfin.c, a network driver for the SVGM5 BSP.
    15  *           Stanford Linear Accelerator Center, Till Straumann
    1610 *
    1711 * Some notes from the author, S. Kate Feng :
     
    367361 
    368362  printk("\nEthernet driver name %s unit %d \n",name, unit);
    369   printk("(c) 2004, Brookhaven National Lab. <feng1@bnl.gov> (RTEMS/mvme5500 port)\n");
    370 
     363  printk("RTEMS-mvme5500 BSP Copyright (c) 2004, Brookhaven National Lab., Shuchen Kate Feng \n");
    371364  /* Make certain elements e.g. descriptor lists are aligned. */
    372365  softc_mem = rtems_bsdnet_malloc(sizeof(*sc) + SOFTC_ALIGN, M_FREE, M_NOWAIT);
     
    394387    printk("Read EEPROM ");
    395388     for (i = 0; i < 6; i++)
    396        hwaddr[i] = ConfVPD_buff[VPD_ENET0_OFFSET+i];
     389       hwaddr[i] = ReadConfVPD_buff(VPD_ENET0_OFFSET+i);
    397390  }
    398391
     
    11381131}
    11391132
    1140 /* TOCHECK : Should it be about rx or tx ? */
    11411133static void GTeth_ifchange(struct GTeth_softc *sc)
    11421134{
     
    14461438}
    14471439
     1440#ifdef GT64260eth_DEBUG
    14481441static void GT64260eth_error(struct GTeth_softc *sc)
    14491442{
     
    14751468  sc->intr_err_ptr1 %= INTR_ERR_SIZE;   /* Till Straumann */
    14761469}
    1477 
     1470#endif
    14781471
    14791472/* The daemon does all of the work; RX, TX and cleaning up buffers/descriptors */
     
    15491542
    15501543       /* Log errors and other uncommon events. */
     1544#ifdef GT64260eth_DEBUG
    15511545       if (events & ERR_EVENT) GT64260eth_error(sc);
     1546#endif
    15521547  } /* end for(;;) { rtems_bsdnet_event_receive() .....*/
    15531548
Note: See TracChangeset for help on using the changeset viewer.