Changeset 0cec037 in rtems


Ignore:
Timestamp:
Nov 30, 2007, 4:51:10 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.8
Children:
125d4c61
Parents:
d805da0e
Message:

2007-11-30 Daniel Hellstrom <daniel@…>

  • rasta/rasta.c: LEON2 PCI RASTA driver. Changes RASTA PCI interrupt to 5 from 4. This is to avoid conflict with the LAN9C111 network MAC driver using interrupt 4.
Location:
c/src/lib/libbsp/sparc/leon2
Files:
2 edited

Legend:

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

    rd805da0e r0cec037  
     12007-11-30      Daniel Hellstrom <daniel@gaisler.com>
     2
     3        * rasta/rasta.c: LEON2 PCI RASTA driver. Changes RASTA PCI interrupt to
     4        5 from 4. This is to avoid conflict with the LAN9C111 network MAC
     5        driver using interrupt 4.
     6
    172007-09-12      Daniel Hellstrom <daniel@gaisler.com>
    28
  • c/src/lib/libbsp/sparc/leon2/rasta/rasta.c

    rd805da0e r0cec037  
     1/*
     2 *  $Id$
     3 */
     4
    15#include <rtems/bspIo.h>
    26#include <pci.h>
     
    1317/*#define RASTA_SRAM 1*/
    1418
    15 #define RASTA_IRQ  4
     19#define RASTA_IRQ  5
    1620
    1721/* Offset from 0x80000000 (dual bus version) */
     
    289293    /* Configure AT697 ioport bit 7 to input pci irq */
    290294    regs->PIO_Direction &= ~(1<<7);
    291     regs->PIO_Interrupt  = 0x87;          /* level sensitive */
     295    regs->PIO_Interrupt |= (0x87<<8);     /* level sensitive */
    292296
    293297    apb_base[0x100] |= 0x40000000;        /* Set GRPCI mmap 0x4 */
Note: See TracChangeset for help on using the changeset viewer.