summaryrefslogtreecommitdiff
path: root/nuttx/arch/z80/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-04 22:25:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-04 22:25:03 +0000
commit55d4f54ef204271e27703b5e7a89d58c13c2b294 (patch)
tree6c93fd2fd198db318cd4a014622e1273b1ede69d /nuttx/arch/z80/include
parent4215984218b33387d048353b23140f4bec0dfae2 (diff)
downloadpx4-nuttx-55d4f54ef204271e27703b5e7a89d58c13c2b294.tar.gz
px4-nuttx-55d4f54ef204271e27703b5e7a89d58c13c2b294.tar.bz2
px4-nuttx-55d4f54ef204271e27703b5e7a89d58c13c2b294.zip
First cut at x86 build environment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3336 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/z80/include')
-rw-r--r--nuttx/arch/z80/include/serial.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/nuttx/arch/z80/include/serial.h b/nuttx/arch/z80/include/serial.h
index 934a93cd4..0a54e5849 100644
--- a/nuttx/arch/z80/include/serial.h
+++ b/nuttx/arch/z80/include/serial.h
@@ -1,7 +1,7 @@
/****************************************************************************
- * arch/serial.h
+ * arch/z80/include/serial.h
*
- * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -33,23 +33,19 @@
*
****************************************************************************/
-#ifndef __ARCH_SERIAL_H
-#define __ARCH_SERIAL_H
+#ifndef __ARCH_Z80_INCLUDE_SERIAL_TYPES_H
+#define __ARCH_Z80_INCLUDE_SERIAL_TYPES_H
/****************************************************************************
* Included Files
****************************************************************************/
+#include <nuttx/ioctl.h>
+
/****************************************************************************
* Definitions
****************************************************************************/
-/* IOCTL commands supported by the z80 serial driver */
-
-#define TIOCSBRK 0x5401 /* BSD compatibility */
-#define TIOCCBRK 0x5402 /* " " " " */
-#define TIOCSERGSTRUCT 0x5403 /* Get up_dev_t for port */
-
/****************************************************************************
* Public Data
****************************************************************************/
@@ -58,4 +54,4 @@
* Public Functions
****************************************************************************/
-#endif /* __ARCH_SERIAL_H */
+#endif /* __ARCH_Z80_INCLUDE_SERIAL_TYPES_H */