Changeset a1c86a4c in rtems


Ignore:
Timestamp:
Nov 21, 2000, 2:02:17 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
669a6dc3
Parents:
c9fcb34
Message:

2000-11-21 Jiri Gaisler <jgais@…>

  • erc32sonic/erc32sonic.c: Minor modifications which enable network interface to come up and work for some time before getting an error in the SONIC driver. The error is a bit random, sometimes MCLGET (m, M_WAIT) tries to access memory way outside the available ram (and traps) while sometimes there is a panic due to RBAE/RXEN.
Location:
c/src/lib/libbsp/sparc/erc32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/erc32/ChangeLog

    rc9fcb34 ra1c86a4c  
     12000-11-21      Jiri Gaisler <jgais@ws.estec.esa.nl>
     2
     3        * erc32sonic/erc32sonic.c: Minor modifications which enable
     4        network interface to come up and work for some time before
     5        getting an error in the SONIC driver.  The error is a bit random,
     6        sometimes MCLGET (m, M_WAIT) tries to access memory way outside the
     7        available ram (and traps) while sometimes there is a panic due
     8        to RBAE/RXEN.
     9
    1102000-11-13      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • c/src/lib/libbsp/sparc/erc32/erc32sonic/erc32sonic.c

    rc9fcb34 ra1c86a4c  
    102102
    103103  ERC32_MEC.IO_Configuration |= (0x15 << (((SONIC_BASE_ADDRESS >> 24) & 0x3) * 8));
    104   ERC32_MEC.Control &= ~0xe0000;        /* Disable DMA time-out and parity */
    105   ERC32_MEC.Control |= 0x10001;                 /* Enable DMA */
    106   ERC32_MEC.Interrupt_Mask &= ~0x000340;
    107   *((volatile int *) 0x10000300) = 0;
     104  ERC32_MEC.Control &= ~0x60001; /* Disable DMA time-out, parity & power-down */
     105  ERC32_MEC.Control |= 0x10000;                 /* Enable DMA */
     106  ERC32_MEC.Interrupt_Mask &= ~(1 << (SONIC_VECTOR - 0x10));
    108107  return(rtems_sonic_driver_attach( config, &erc32_sonic_configuration ));
    109108 
Note: See TracChangeset for help on using the changeset viewer.