Changeset 47b29ac in rtems


Ignore:
Timestamp:
Sep 12, 2007, 3:39:42 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2a2b206
Parents:
7459fbf
Message:

2007-09-12 Daniel Hellstrom <daniel@…>

  • leon_smc91111/leon_smc91111.c: LEON2 SMC91111 initialization: PIO Interrupt initialization fix and speed rate defaulted to 100Mbit/s for boards with 50MHz system clock or greater now all defaults to 100Mbit/s
Location:
c/src/lib/libbsp/sparc/leon2
Files:
2 edited

Legend:

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

    r7459fbf r47b29ac  
     12007-09-12      Daniel Hellstrom <daniel@gaisler.com>
     2
     3        * leon_smc91111/leon_smc91111.c: LEON2 SMC91111 initialization: PIO
     4        Interrupt initialization fix and speed rate defaulted to 100Mbit/s
     5        for boards with 50MHz system clock or greater now all defaults to
     6        100Mbit/s
     7
    182007-09-07      Daniel Hellstrom <daniel@gaisler.com>
    29
  • c/src/lib/libbsp/sparc/leon2/leon_smc91111/leon_smc91111.c

    r7459fbf r47b29ac  
    3434  SMC91111_BASE_IRQ,  /* vector number */
    3535  SMC91111_BASE_PIO,  /* PIO */
    36   10,                 /* 10b */
     36  100,                /* 100b */
    3737  1,                  /* fulldx */
    3838  1                   /* autoneg */
     
    5050{
    5151
    52   if (LEON_REG.Scaler_Reload >= 49)
    53     leon_scmv91111_configuration.ctl_rspeed = 100;
    54 
    5552  /* activate io area */
    5653  printk("Activating Leon2 io port\n");
     
    5855  *((volatile unsigned int *)0x80000000) |= 0x10f80000;
    5956  *((volatile unsigned int *)0x800000A8) |=
    60     (0xe0 | leon_scmv91111_configuration.vector)
    61       << (8 * (leon_scmv91111_configuration.pio - 4));
     57    (0xe0 | leon_scmv91111_configuration.pio)
     58      << (8 * ((leon_scmv91111_configuration.vector & 0x0f) - 4));
    6259 
    6360  return _rtems_smc91111_driver_attach(config,&leon_scmv91111_configuration);
Note: See TracChangeset for help on using the changeset viewer.