4.115
Last change
on this file since 4bd005e was
4bd005e,
checked in by Sebastian Huber <sebastian.huber@…>, on 05/20/11 at 13:47:59
|
2011-05-20 Sebastian Huber <sebastian.huber@…>
- mouse01/serial_mouse_config.c: Avoid output due to execution context.
|
-
Property mode set to
100644
|
File size:
698 bytes
|
Line | |
---|
1 | /* |
---|
2 | * |
---|
3 | * $Id$ |
---|
4 | * |
---|
5 | * MODULE DESCRIPTION: |
---|
6 | * This module implements the RTEMS drivers for the PC serial ports |
---|
7 | * as /dev/ttyS1 for COM1 and /dev/ttyS2 as COM2. If one of the ports |
---|
8 | * is used as the console, this driver would fail to initialize. |
---|
9 | * |
---|
10 | * This code was based on the console driver. It is based on the |
---|
11 | * current termios framework. This is just a shell around the |
---|
12 | * termios support. |
---|
13 | * |
---|
14 | */ |
---|
15 | |
---|
16 | #include "tmacros.h" |
---|
17 | #include <rtems/serial_mouse.h> |
---|
18 | #include "termios_testdriver_intr.h" |
---|
19 | |
---|
20 | extern const char *Mouse_Type_Short; |
---|
21 | |
---|
22 | bool bsp_get_serial_mouse_device( |
---|
23 | const char **name, |
---|
24 | const char **type |
---|
25 | ) |
---|
26 | { |
---|
27 | *name = TERMIOS_TEST_DRIVER_DEVICE_NAME; |
---|
28 | *type = Mouse_Type_Short; |
---|
29 | |
---|
30 | return true; |
---|
31 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.