RTEMS: bsps/i386/pc386/console/exar17d15x.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Structures | Macros | Functions
exar17d15x.c File Reference

Driver for Exar XR17D15x Multiport UARTs. More...

`#include <bsp.h>`
`#include <termios.h>`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <rtems/termiostypes.h>`
`#include <libchip/serial.h>`
`#include <libchip/ns16550.h>`
`#include <rtems/bspIo.h>`
`#include <rtems/pci.h>`
`#include <bsp/exar17d15x.h>`
`#include "../../shared/dev/serial/legacy-console.h"`

## Data Structures
struct | exar_parts_t
struct | exar17d15x_conf_t

## Macros
#define | MAX_BOARDS 4
#define | EXAR_CLOCK_RATE (921600*16)
#define | PCI_VENDOR_ID_EXAR 0x13A8
#define | PCI_VENDOR_ID_EXAR_XR17D158 0x0158
#define | PCI_VENDOR_ID_EXAR_XR17D154 0x0154
#define | PCI_VENDOR_ID_EXAR_XR17D152 0x0152

## Functions
rtems_device_driver | exar17d15x_initialize (rtems_device_major_number major, rtems_device_minor_number minor_arg, void *arg)
| Exar 17D15x Initialization Entry Point.

## Detailed Description

Driver for Exar XR17D15x Multiport UARTs.

This driver supports 2, 4 or 8 port Exar parts which are NS16550 compatible.

## Function Documentation

## ◆ exar17d15x_initialize()

rtems_device_driver exar17d15x_initialize | ( | rtems_device_major_number | major,
|  | rtems_device_minor_number | minor,
|  | void * | arg
| ) |  |

Exar 17D15x Initialization Entry Point.

This method initializes the Exar XR17D15x device driver.

Parameters

  [in] | major | is the device driver major number
  [in] | minor | is the device driver minor number
  [in] | arg | is the parameters to this call

Returns
  This method returns RTEMS_SUCCESSFUL when the device driver is successfully initialized.