Changeset 07d8cc54 in rtems


Ignore:
Timestamp:
02/11/09 16:37:14 (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
89e2082c
Parents:
9c266d2
Message:

2009-02-11 Matt Rippa <mrippa@…>

PR 1352/bsps

  • shared/console/reboot.c, shared/motorola/motorola.c: Include support for mvme2600/mvme2700.
Location:
c/src/lib/libbsp/powerpc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ChangeLog

    r9c266d2 r07d8cc54  
     12009-02-11      Matt Rippa <mrippa@gemini.edu>
     2
     3        PR 1352/bsps
     4        * shared/console/reboot.c, shared/motorola/motorola.c: Include support
     5        for mvme2600/mvme2700.
     6
    172008-11-03      Till Straumann <strauman@slac.stanford.edu>
    28
  • c/src/lib/libbsp/powerpc/shared/console/reboot.c

    r9c266d2 r07d8cc54  
    1717  CPU_print_stack();
    1818  /* shutdown and reboot */
    19 #if defined(BSP_KBD_IOBASE)
    20   kbd_outb(0x4, 0xFE);      /* use keyboard controler to do the job... */
    21 #endif
     19   
    2220#if defined(mvme2100)
    2321  *(unsigned char*)0xffe00000 |= 0x80;
     22#else
     23   /* Memory-mapped Port 92 PIB device access
     24   *(unsigned char*)0x80000092 |= 0x01;
     25   */
     26   outb(1, 0x92);
     27
    2428#endif
    2529} /* bsp_reset */
  • c/src/lib/libbsp/powerpc/shared/motorola/motorola.c

    r9c266d2 r07d8cc54  
    165165               NULL_PINMAP}},
    166166*/
     167
     168   {0, 13, PCI_FIXUP_OPT_OVERRIDE_NAME,
     169                        {{1, {11,21,-1,-1}},  /* Universe  ISA/PCI */
     170                        /* strictly speaking, a non-multi function device
     171                         * must only use pin A
     172                         */
     173                         {2, {22,-1,-1,-1}},  /* Universe          */
     174                         {3, {23,-1,-1,-1}},  /* Universe          */
     175                         {4, {24,-1,-1,-1}},  /* Universe          */
     176             NULL_PINMAP}},
     177
     178   {0, 14, PCI_FIXUP_OPT_OVERRIDE_NAME,
     179                        {{1, {10,18,-1,-1}},  /* DEC Tulip enet (ISA/PCI)  */
     180             NULL_PINMAP}},
     181   {0, 16, PCI_FIXUP_OPT_OVERRIDE_NAME,
     182            {{1, {25,-1,-1,-1}},  /* pci/pmc slot 1   */
     183             {2, {26,-1,-1,-1}},
     184             {3, {27,-1,-1,-1}},
     185             {4, {28,-1,-1,-1}},
     186             NULL_PINMAP}},
     187
     188   {0, 17, PCI_FIXUP_OPT_OVERRIDE_NAME,
     189            {{1, {28,-1,-1,-1}},  /* pci/pmc slot 2   */ /* orig: 0xf */
     190             {2, {25,-1,-1,-1}},
     191             {3, {26,-1,-1,-1}},
     192             {4, {27,-1,-1,-1}},
     193             NULL_PINMAP}},
     194   NULL_INTMAP };
     195
     196static struct _int_map mvme27xx_intmap[] = {
     197/* Raven Hostbridge; has int_pin == 0 */
     198   {0,  0, 0, {{0, {-1,-1,-1,-1}},
     199               NULL_PINMAP}},
     200
     201
     202/* Winbond PCI/ISA 83c553; has int_pin == 0 */
     203   {0, 11, 0, {{0, {-1,-1,-1,-1}},
     204               NULL_PINMAP}},
    167205
    168206   {0, 13, PCI_FIXUP_OPT_OVERRIDE_NAME,
     
    276314  {0x1E0, 0xFA, PPC_UNKNOWN, "MVME 2300SC/2600", mvme23xx_intmap, prep_pci_swizzle},
    277315  {0x1E0, 0xFB, PPC_UNKNOWN, "MVME 2600 with MVME712M", NULL, NULL},
    278   {0x1E0, 0xFC, PPC_UNKNOWN, "MVME 2600/2700 with MVME761", NULL, NULL},
     316  {0x1E0, 0xFC, PPC_750,     "MVME 2600/2700 with MVME761", mvme27xx_intmap, prep_pci_swizzle},
    279317  {0x1E0, 0xFD, PPC_UNKNOWN, "MVME 3600 with MVME712M", NULL, NULL},
    280318  {0x1E0, 0xFE, PPC_UNKNOWN, "MVME 3600 with MVME761", NULL, NULL},
     
    340378       */
    341379      continue;
    342    
    343     if (mot_boards[entry].base_type == 0) {
    344       mot_entry = entry;
    345       break;
    346     }
    347380
    348381    if (mot_boards[entry].base_type != base_mod)
Note: See TracChangeset for help on using the changeset viewer.