Changeset d77b16d in rtems


Ignore:
Timestamp:
Feb 6, 2015, 8:27:08 AM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
7a03ac29
Parents:
28950f0b
git-author:
Daniel Hellstrom <daniel@…> (02/06/15 08:27:08)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:22)
Message:

GR-RASTA-SPW-ROUTER: fix build warnings

Location:
c/src/lib/libbsp/sparc
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/Makefile.am

    r28950f0b rd77b16d  
    5353EXTRA_DIST += shared/include/gr_rasta_adcdac.h
    5454EXTRA_DIST += shared/include/gr_rasta_io.h
     55EXTRA_DIST += shared/include/gr_rasta_spw_router.h
    5556EXTRA_DIST += shared/include/gr_rasta_tmtc.h
    5657EXTRA_DIST += shared/include/gr_tmtc_1553.h
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r28950f0b rd77b16d  
    112112include_HEADERS += ../../sparc/shared/include/gr_rasta_adcdac.h
    113113include_HEADERS += ../../sparc/shared/include/gr_rasta_io.h
     114include_HEADERS += ../../sparc/shared/include/gr_rasta_spw_router.h
    114115include_HEADERS += ../../sparc/shared/include/gr_rasta_tmtc.h
    115116include_HEADERS += ../../sparc/shared/include/gr_leon4_n2x.h
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r28950f0b rd77b16d  
    142142PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_io.h
    143143
     144$(PROJECT_INCLUDE)/gr_rasta_spw_router.h: ../../sparc/shared/include/gr_rasta_spw_router.h $(PROJECT_INCLUDE)/$(dirstamp)
     145        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
     146PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
     147
    144148$(PROJECT_INCLUDE)/gr_rasta_tmtc.h: ../../sparc/shared/include/gr_rasta_tmtc.h $(PROJECT_INCLUDE)/$(dirstamp)
    145149        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_tmtc.h
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r28950f0b rd77b16d  
    120120include_HEADERS += ../../sparc/shared/include/gr_rasta_adcdac.h
    121121include_HEADERS += ../../sparc/shared/include/gr_rasta_io.h
     122include_HEADERS += ../../sparc/shared/include/gr_rasta_spw_router.h
    122123include_HEADERS += ../../sparc/shared/include/gr_rasta_tmtc.h
    123124include_HEADERS += ../../sparc/shared/include/gr_tmtc_1553.h
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    r28950f0b rd77b16d  
    157157        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_io.h
    158158PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_io.h
     159
     160$(PROJECT_INCLUDE)/gr_rasta_spw_router.h: ../../sparc/shared/include/gr_rasta_spw_router.h $(PROJECT_INCLUDE)/$(dirstamp)
     161        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
     162PREINSTALL_FILES += $(PROJECT_INCLUDE)/gr_rasta_spw_router.h
    159163
    160164$(PROJECT_INCLUDE)/gr_rasta_tmtc.h: ../../sparc/shared/include/gr_rasta_tmtc.h $(PROJECT_INCLUDE)/$(dirstamp)
  • c/src/lib/libbsp/sparc/shared/pci/gr_rasta_spw_router.c

    r28950f0b rd77b16d  
    3030#include <drvmgr/pci_bus.h>
    3131#include <genirq.h>
    32 
    33 /*#include <gr_rasta_spw_router.h> */
     32#include <gr_rasta_spw_router.h>
    3433
    3534/* Determines which PCI address the AHB masters will access, it should be
     
    4645#define GRPCI2_BAR0_TO_AHB_MAP 0x04  /* Fixme */
    4746#define GRPCI2_PCI_CONFIG      0x20  /* Fixme */
    48 #define RASTA_SPW_ROUTER_OPTIONS_AMBA  0x01 /* Print AMBA bus devices */  /* Fixme */
    49 #define RASTA_SPW_ROUTER_OPTIONS_IRQ   0x02 /* Print current IRQ setup */ /* Fixme */
    50 
    5147
    5248/* #define DEBUG 1 */
     
    6359int gr_rasta_spw_router_init1(struct drvmgr_dev *dev);
    6460int gr_rasta_spw_router_init2(struct drvmgr_dev *dev);
     61void gr_rasta_spw_router_isr(void *arg);
    6562
    6663struct grpci2_regs {
     
    236233}
    237234
    238 int gr_rasta_spw_router_hw_init(struct gr_rasta_spw_router_priv *priv)
     235static int gr_rasta_spw_router_hw_init(struct gr_rasta_spw_router_priv *priv)
    239236{
    240237        int i;
     
    373370}
    374371
    375 int gr_rasta_spw_router_hw_init2(struct gr_rasta_spw_router_priv *priv)
     372static int gr_rasta_spw_router_hw_init2(struct gr_rasta_spw_router_priv *priv)
    376373{
    377374        /* Enable DMA by enabling PCI target as master */
Note: See TracChangeset for help on using the changeset viewer.