4.104.114.84.95
Last change
on this file since e16e0ca was
e16e0ca,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/06/07 at 13:25:42
|
2007-09-06 Daniel Hellstrom <daniel@…>
- Makefile.am: Add the following new drivers: PCI, b1553BRM,
SpaceWire?(GRSPW), CAN (GRCAN,OC_CAN), Raw UART.
- shared/include/apbuart.h, shared/include/apbuart_pci.h,
shared/include/apbuart_rasta.h, shared/include/b1553brm.h,
shared/include/b1553brm_pci.h, shared/include/b1553brm_rasta.h,
shared/include/debug_defs.h, shared/include/grcan.h,
shared/include/grcan_rasta.h, shared/include/grcan_spwrtc.h,
shared/include/grspw.h, shared/include/grspw_pci.h,
shared/include/grspw_rasta.h, shared/include/occan.h,
shared/include/occan_pci.h, shared/include/pci.h: New files.
|
-
Property mode set to
100644
|
File size:
1018 bytes
|
Line | |
---|
1 | /* |
---|
2 | * APBUART RASTA via PCI - driver interface |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 2007. |
---|
5 | * Gaisler Research |
---|
6 | * |
---|
7 | * The license and distribution terms for this file may be |
---|
8 | * found in the file LICENSE in this distribution or at |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | * |
---|
11 | */ |
---|
12 | |
---|
13 | #ifndef __APBUART_RASTA_H__ |
---|
14 | #define __APBUART_RASTA_H__ |
---|
15 | |
---|
16 | #include <apbuart.h> |
---|
17 | |
---|
18 | #ifdef __cplusplus |
---|
19 | extern "C" { |
---|
20 | #endif |
---|
21 | |
---|
22 | /* Register APBUART driver, if APBUART devices are found. |
---|
23 | * bus = pointer to AMBA bus description used to search for APBUART(s). |
---|
24 | * |
---|
25 | */ |
---|
26 | |
---|
27 | int apbuart_rasta_register(amba_confarea_type *bus); |
---|
28 | |
---|
29 | /* This function must be called on APBUART interrupt. Called from the |
---|
30 | * RASTA interrupt handler. |
---|
31 | * irq = AMBA IRQ assigned to the APBUART device, is found by reading |
---|
32 | * pending register on IRQMP connected to the APBUART device. |
---|
33 | * |
---|
34 | */ |
---|
35 | void apbuartrasta_interrupt_handler(int irq, void *arg); |
---|
36 | |
---|
37 | extern void (*apbuart_rasta_int_reg)(void *handler, int irq, void *arg); |
---|
38 | |
---|
39 | #ifdef __cplusplus |
---|
40 | } |
---|
41 | #endif |
---|
42 | |
---|
43 | #endif /* __APBUART_RASTA_H__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.