Ignore:
Timestamp:
Nov 30, 2007, 4:51:00 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
5b42368a
Parents:
e3481dcd
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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/leon2/rasta/rasta.c

    re3481dcd r6f237224  
     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.