summaryrefslogtreecommitdiffstats
path: root/bsps/i386/pc386/include/bsp/exar17d15x.h
blob: 9e1194ffec88dff4e8944027b29b242c5b07ea69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
 * @file
 *
 * @ingroup i386_pc386
 *
 * @brief Exar Multiport PCI UART interface.
 */

/*
 *  COPYRIGHT (c) 1989-2012.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  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 _BSP_EXAR17D15X__h
#define _BSP_EXAR17D15X__h

#ifdef __cplusplus
extern "C" {
#endif

/**
 *  This macro defines the standard device driver table entry for
 *  a console device driver.
 */
#define EXAR17D15X_DRIVER_TABLE_ENTRY \
  { exar17d15x_initialize, NULL, NULL, NULL, NULL, NULL }

/**
 *  @brief Exar 17D15x Initialization Entry Point
 *
 *  This method initializes the Exar XR17D15x device driver.
 *
 *  @param[in] major is the device driver major number
 *  @param[in] minor is the device driver minor number
 *  @param[in] arg is the parameters to this call
 *
 *  @return This method returns RTEMS_SUCCESSFUL when
 *          the device driver is successfully initialized.
 */
rtems_device_driver exar17d15x_initialize(
  rtems_device_major_number  major,
  rtems_device_minor_number  minor,
  void                      *arg
);

#ifdef __cplusplus
}
#endif

#endif
/* end of include file */