diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2011-12-20 16:27:54 +0100 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:17 +0200 |
commit | 3681925508c0da88fee6325ea35ead7b112856c6 (patch) | |
tree | 0886351bec0218ed4689c68e5442b75341cbc169 /c/src/lib/libbsp/sparc/shared/include/grcan.h | |
parent | LEON: updated and added PCI peripherals for LEON BSPs (diff) | |
download | rtems-3681925508c0da88fee6325ea35ead7b112856c6.tar.bz2 |
LEON: updated shared drivers to Driver Manger framework
Some bugfixes at the same time. After this patch the drivers
may be used on RASTA systems having a big-endian PCI layout.
Removed not up to date changelogs, rely on git log instead.
Diffstat (limited to 'c/src/lib/libbsp/sparc/shared/include/grcan.h')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/include/grcan.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/grcan.h b/c/src/lib/libbsp/sparc/shared/include/grcan.h index 9f014550a7..5f4da5d7db 100644 --- a/c/src/lib/libbsp/sparc/shared/include/grcan.h +++ b/c/src/lib/libbsp/sparc/shared/include/grcan.h @@ -8,19 +8,16 @@ /* * COPYRIGHT (c) 2007. - * Gaisler Research + * Cobham Gaisler AB. * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rtems.org/license/LICENSE. - * */ #ifndef __GRCAN_H__ #define __GRCAN_H__ -#include <ambapp.h> - #ifdef __cplusplus extern "C" { #endif @@ -187,21 +184,8 @@ typedef struct { #define GRCAN_IOC_SET_SFILTER 40 /* Set Sync Messages RX/TX filters, NULL disables the IRQ completely */ #define GRCAN_IOC_GET_STATUS 41 /* Get status register of GRCAN core */ -struct grcan_device_info { - unsigned int base_address; - int irq; -}; -/* Use hard coded addresses and IRQs to find hardware */ -int grcan_rasta_register_abs(struct grcan_device_info *devices, int dev_cnt); - -/* Use prescanned AMBA Plug&Play information to find all GRFIFO cores */ -int grcan_rasta_register(struct ambapp_bus *abus); -int grcan_register(struct ambapp_bus *abus); -#if 0 -void grcan_register(unsigned int baseaddr, unsigned int ram_base); -void grcan_interrupt_handler(rtems_vector_number v); -#endif +void grcan_register_drv(void); #ifdef __cplusplus } |