[PATCH penmount 09/10] Move default_options up
Peter Hutterer
peter.hutterer at who-t.net
Wed Dec 1 20:37:56 PST 2010
no functional changes, prep work for ABI 12
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
src/xf86PM.c | 35 +++++++++++++++++------------------
1 files changed, 17 insertions(+), 18 deletions(-)
diff --git a/src/xf86PM.c b/src/xf86PM.c
index bb1424c..2034200 100644
--- a/src/xf86PM.c
+++ b/src/xf86PM.c
@@ -57,6 +57,23 @@
#define TS_Raw 60
#define TS_Scaled 61
+/*
+ * Be sure to set vmin appropriately for your device's protocol. You want to
+ * read a full packet before returning
+ */
+static const char *default_options[] =
+{
+ /* "Device", "/dev/ttyS1",*/
+ "BaudRate", "19200",
+ "StopBits", "1",
+ "DataBits", "8",
+ "Parity", "None",
+ "Vmin", "3",
+ "Vtime", "1",
+ "FlowControl", "None",
+ NULL,
+};
+
_X_EXPORT InputDriverRec PENMOUNT = {
1,
"penmount",
@@ -97,24 +114,6 @@ _X_EXPORT XF86ModuleData penmountModuleData = {
NULL
};
-/*
- * Be sure to set vmin appropriately for your device's protocol. You want to
- * read a full packet before returning
- */
-static const char *default_options[] =
-{
- /* "Device", "/dev/ttyS1",*/
- "BaudRate", "19200",
- "StopBits", "1",
- "DataBits", "8",
- "Parity", "None",
- "Vmin", "3",
- "Vtime", "1",
- "FlowControl", "None",
- NULL,
-};
-
-
/*****************************************************************************
* Function Definitions
****************************************************************************/
--
1.7.3.2
More information about the xorg-devel
mailing list