4.115
Last change
on this file since 8950204 was
8950204,
checked in by Daniel Ramirez <javamonn@…>, on 12/19/13 at 04:58:53
|
libtests/uid01: Fix Copyright information
|
-
Property mode set to
100644
|
File size:
961 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2013 Daniel Ramirez <javamonn@gmail.com> |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.com/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * |
---|
11 | * MODULE DESCRIPTION: |
---|
12 | * This module implements the RTEMS drivers for the PC serial ports |
---|
13 | * as /dev/ttyS1 for COM1 and /dev/ttyS2 as COM2. If one of the ports |
---|
14 | * is used as the console, this driver would fail to initialize. |
---|
15 | * |
---|
16 | * This code was based on the console driver. It is based on the |
---|
17 | * current termios framework. This is just a shell around the |
---|
18 | * termios support. |
---|
19 | * |
---|
20 | */ |
---|
21 | |
---|
22 | #ifdef HAVE_CONFIG_H |
---|
23 | #include "config.h" |
---|
24 | #endif |
---|
25 | |
---|
26 | #include "tmacros.h" |
---|
27 | #include <rtems/serial_mouse.h> |
---|
28 | #include "termios_testdriver_intr.h" |
---|
29 | |
---|
30 | extern const char *Mouse_Type_Short; |
---|
31 | |
---|
32 | bool bsp_get_serial_mouse_device( |
---|
33 | const char **name, |
---|
34 | const char **type |
---|
35 | ) |
---|
36 | { |
---|
37 | *name = TERMIOS_TEST_DRIVER_DEVICE_NAME; |
---|
38 | *type = Mouse_Type_Short; |
---|
39 | |
---|
40 | return true; |
---|
41 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.