Changeset 61788e76 in rtems


Ignore:
Timestamp:
Jan 31, 2017, 9:13:41 AM (3 years ago)
Author:
Javier Jalle <javier.jalle@…>
Branches:
master
Children:
7075fb11
Parents:
6b42018e
git-author:
Javier Jalle <javier.jalle@…> (01/31/17 09:13:41)
git-committer:
Daniel Hellstrom <daniel@…> (05/02/17 10:34:44)
Message:

leon, GR-CPCI-GR740: Added peripheral PCI driver

Files:
2 added
8 edited

Legend:

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

    r6b42018e r61788e76  
    5858EXTRA_DIST += shared/include/gr_tmtc_1553.h
    5959EXTRA_DIST += shared/include/gr_leon4_n2x.h
     60EXTRA_DIST += shared/include/gr_cpci_gr740.h
    6061EXTRA_DIST += shared/pci/gr_701.c
    6162EXTRA_DIST += shared/pci/gr_rasta_adcdac.c
     
    6566EXTRA_DIST += shared/pci/gr_tmtc_1553.c
    6667EXTRA_DIST += shared/pci/gr_leon4_n2x.c
     68EXTRA_DIST += shared/pci/gr_cpci_gr740.c
    6769
    6870# DEBUG
  • c/src/lib/libbsp/sparc/leon2/Makefile.am

    r6b42018e r61788e76  
    113113include_bsp_HEADERS += ../../sparc/shared/include/gr_rasta_tmtc.h
    114114include_bsp_HEADERS += ../../sparc/shared/include/gr_leon4_n2x.h
     115include_bsp_HEADERS += ../../sparc/shared/include/gr_cpci_gr740.h
    115116libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_701.c
    116117libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_rasta_adcdac.c
     
    119120libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_rasta_tmtc.c
    120121libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_leon4_n2x.c
     122libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_cpci_gr740.c
    121123
    122124# B1553BRM
  • c/src/lib/libbsp/sparc/leon2/preinstall.am

    r6b42018e r61788e76  
    162162PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h
    163163
     164$(PROJECT_INCLUDE)/bsp/gr_cpci_gr740.h: ../../sparc/shared/include/gr_cpci_gr740.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     165        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_cpci_gr740.h
     166PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_cpci_gr740.h
     167
    164168$(PROJECT_INCLUDE)/bsp/b1553brm.h: ../../sparc/shared/include/b1553brm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    165169        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/b1553brm.h
  • c/src/lib/libbsp/sparc/leon3/Makefile.am

    r6b42018e r61788e76  
    125125include_bsp_HEADERS += ../../sparc/shared/include/gr_tmtc_1553.h
    126126include_bsp_HEADERS += ../../sparc/shared/include/gr_leon4_n2x.h
     127include_bsp_HEADERS += ../../sparc/shared/include/gr_cpci_gr740.h
    127128libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_701.c
    128129libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_rasta_adcdac.c
     
    132133libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_tmtc_1553.c
    133134libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_leon4_n2x.c
     135libbsp_a_SOURCES +=  ../../sparc/shared/pci/gr_cpci_gr740.c
    134136
    135137# B1553BRM
  • c/src/lib/libbsp/sparc/leon3/preinstall.am

    r6b42018e r61788e76  
    181181        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h
    182182PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_leon4_n2x.h
     183
     184$(PROJECT_INCLUDE)/bsp/gr_cpci_gr740.h: ../../sparc/shared/include/gr_cpci_gr740.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     185        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/gr_cpci_gr740.h
     186PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/gr_cpci_gr740.h
    183187
    184188$(PROJECT_INCLUDE)/bsp/b1553brm.h: ../../sparc/shared/include/b1553brm.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
  • cpukit/libdrvmgr/drvmgr_confdefs.h

    r6b42018e r61788e76  
    7373extern void gr_rasta_spw_router_register_drv(void);
    7474extern void gr_cpci_leon4_n2x_register_drv(void);
     75extern void gr_cpci_gr740_register_drv(void);
    7576
    7677
     
    193194        gr_cpci_leon4_n2x_register_drv,
    194195#endif
     196#ifdef CONFIGURE_DRIVER_PCI_GR_CPCI_GR740
     197        gr_cpci_gr740_register_drv,
     198#endif
    195199
    196200
  • cpukit/libpci/pci/ids_extra.h

    r6b42018e r61788e76  
    2020#define PCIID_DEVICE_GR_LEON4_N2X       0x0061  /* GR-CPCI-LEON4-N2X */
    2121#define PCIID_DEVICE_GR_NGMP_PROTO      0x0064  /* GR-NGMP_PROTO */
     22#define PCIID_DEVICE_GR_CPCI_GR740      0x0740  /* GR-CPCI-GR740 */
  • cpukit/libpci/pci_bus.h

    r6b42018e r61788e76  
    4848#define DRIVER_PCI_GAISLER_RASTA_SPW_ROUTER_ID  DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_RASTA_SPW_RTR)
    4949#define DRIVER_PCI_GAISLER_LEON4_N2X_ID         DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_LEON4_N2X)
     50#define DRIVER_PCI_GAISLER_CPCI_GR740_ID        DRIVER_PCI_ID(PCIID_VENDOR_GAISLER, PCIID_DEVICE_GR_CPCI_GR740)
    5051
    5152struct pci_dev_id {
Note: See TracChangeset for help on using the changeset viewer.