diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2017-05-09 16:00:56 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2017-05-14 12:32:00 +0200 |
commit | 84e4d10ca346e7c89314845420a650b6dab316b4 (patch) | |
tree | 383fdb88425c721999aec3d36f9385e8347dd391 /c/src/lib/libbsp/sparc/shared/include | |
parent | leon, grtm: SMP support by using spin-locks (diff) | |
download | rtems-84e4d10ca346e7c89314845420a650b6dab316b4.tar.bz2 |
leon, apbuart: remove old RAW UART driver
This driver was initially intended for APBUART access on GRLIB PCI
peripherals (AMBA-over-PCI). There are already many APBUART drivers
for LEON. Instead of using this one the termios APBUART should work
on AMBA-over-PCI systems with recent changes on LEON3, however that
has not been tested yet.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/include/apbuart.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/include/apbuart.h b/c/src/lib/libbsp/sparc/shared/include/apbuart.h index 326e769592..a324805d7d 100644 --- a/c/src/lib/libbsp/sparc/shared/include/apbuart.h +++ b/c/src/lib/libbsp/sparc/shared/include/apbuart.h @@ -25,33 +25,6 @@ extern "C" { #endif -typedef struct { - unsigned int hw_dovr; - unsigned int hw_parity; - unsigned int hw_frame; - unsigned int sw_dovr; - unsigned int rx_cnt; - unsigned int tx_cnt; -} apbuart_stats; - -#define APBUART_START 0 -#define APBUART_STOP 1 -#define APBUART_SET_RXFIFO_LEN 2 -#define APBUART_SET_TXFIFO_LEN 3 -#define APBUART_SET_BAUDRATE 4 -#define APBUART_SET_SCALER 5 -#define APBUART_SET_BLOCKING 6 -#define APBUART_SET_ASCII_MODE 7 - - -#define APBUART_GET_STATS 16 -#define APBUART_CLR_STATS 17 - -#define APBUART_BLK_RX 0x1 -#define APBUART_BLK_TX 0x2 -#define APBUART_BLK_FLUSH 0x4 - - #define APBUART_CTRL_RE 0x1 #define APBUART_CTRL_TE 0x2 #define APBUART_CTRL_RI 0x4 @@ -80,12 +53,6 @@ typedef struct { #define APBUART_STATUS_TF 0x200 #define APBUART_STATUS_RF 0x400 -/* Register APBUART driver - * bus = pointer to AMBA bus description used to search for APBUART(s). - * (&ambapp_plb for LEON3), (LEON2: see amba_scan) - */ -int apbuart_register (struct ambapp_bus *bus); - #ifdef __cplusplus } #endif |