Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 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 1 2 3 4 5 6


serial_core.h
001: /*
002:  *  linux/drivers/char/serial_core.h
003:  *
004:  *  Copyright (C) 2000 Deep Blue Solutions Ltd.
005:  *
006:  * This program is free software; you can redistribute it and/or modify
007:  * it under the terms of the GNU General Public License as published by
008:  * the Free Software Foundation; either version 2 of the License, or
009:  * (at your option) any later version.
010:  *
011:  * This program is distributed in the hope that it will be useful,
012:  * but WITHOUT ANY WARRANTY; without even the implied warranty of
013:  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
014:  * GNU General Public License for more details.
015:  *
016:  * You should have received a copy of the GNU General Public License
017:  * along with this program; if not, write to the Free Software
018:  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
019:  */
020: #ifndef LINUX_SERIAL_CORE_H
021: #define LINUX_SERIAL_CORE_H
022: 
023: #include <linux/serial.h>
024: 
025: /*
026:  * The type definitions.  These are from Ted Ts'o's serial.h
027:  */
028: #define PORT_UNKNOWN    0
029: #define PORT_8250       1
030: #define PORT_16450      2
031: #define PORT_16550      3
032: #define PORT_16550A     4
033: #define PORT_CIRRUS     5
034: #define PORT_16650      6
035: #define PORT_16650V2    7
036: #define PORT_16750      8
037: #define PORT_STARTECH   9
038: #define PORT_16C950     10
039: #define PORT_16654      11
040: #define PORT_16850      12
041: #define PORT_RSA        13
042: #define PORT_NS16550A   14
043: #define PORT_XSCALE     15
044: #define PORT_RM9000     16      /* PMC-Sierra RM9xxx internal UART */
045: #define PORT_OCTEON     17      /* Cavium OCTEON internal UART */
046: #define PORT_AR7        18      /* Texas Instruments AR7 internal UART */
047: #define PORT_U6_16550A  19      /* ST-Ericsson U6xxx internal UART */
048: #define PORT_TEGRA      20      /* NVIDIA Tegra internal UART */
049: #define PORT_XR17D15X   21      /* Exar XR17D15x UART */
050: #define PORT_MAX_8250   21      /* max port ID */
051: 
052: /*
053:  * ARM specific type numbers.  These are not currently guaranteed
054:  * to be implemented, and will change in the future.  These are
055:  * separate so any additions to the old serial.c that occur before
056:  * we are merged can be easily merged here.
057:  */
058: #define PORT_PXA        31
059: #define PORT_AMBA       32
060: #define PORT_CLPS711X   33
061: #define PORT_SA1100     34
062: #define PORT_UART00     35
063: #define PORT_21285      37
064: 
065: /* Sparc type numbers.  */
066: #define PORT_SUNZILOG   38
067: #define PORT_SUNSAB     39
068: 
069: /* DEC */
070: #define PORT_DZ         46
071: #define PORT_ZS         47
072: 
073: /* Parisc type numbers. */
074: #define PORT_MUX        48
075: 
076: /* Atmel AT91 / AT32 SoC */
077: #define PORT_ATMEL      49
078: 
079: /* Macintosh Zilog type numbers */
080: #define PORT_MAC_ZILOG  50      /* m68k : not yet implemented */
081: #define PORT_PMAC_ZILOG 51
082: 
083: /* SH-SCI */
084: #define PORT_SCI        52
085: #define PORT_SCIF       53
086: #define PORT_IRDA       54
087: 
088: /* Samsung S3C2410 SoC and derivatives thereof */
089: #define PORT_S3C2410    55
090: 
091: /* SGI IP22 aka Indy / Challenge S / Indigo 2 */
092: #define PORT_IP22ZILOG  56
093: 
094: /* Sharp LH7a40x -- an ARM9 SoC series */
095: #define PORT_LH7A40X    57
096: 
097: /* PPC CPM type number */
098: #define PORT_CPM        58
099: 
100: /* MPC52xx (and MPC512x) type numbers */
101: #define PORT_MPC52xx    59
102: 
103: /* IBM icom */
104: #define PORT_ICOM       60
105: 
106: /* Samsung S3C2440 SoC */
107: #define PORT_S3C2440    61
108: 
109: /* Motorola i.MX SoC */
110: #define PORT_IMX        62
111: 
112: /* Marvell MPSC */
113: #define PORT_MPSC       63
114: 
115: /* TXX9 type number */
116: #define PORT_TXX9       64
117: 
118: /* NEC VR4100 series SIU/DSIU */
119: #define PORT_VR41XX_SIU         65
120: #define PORT_VR41XX_DSIU        66
121: 
122: /* Samsung S3C2400 SoC */
123: #define PORT_S3C2400    67
124: 
125: /* M32R SIO */
126: #define PORT_M32R_SIO   68
127: 
128: /*Digi jsm */
129: #define PORT_JSM        69
130: 
131: #define PORT_PNX8XXX    70
132: 
133: /* Hilscher netx */
134: #define PORT_NETX       71
135: 
136: /* SUN4V Hypervisor Console */
137: #define PORT_SUNHV      72
138: 
139: #define PORT_S3C2412    73
140: 
141: /* Xilinx uartlite */
142: #define PORT_UARTLITE   74
143: 
144: /* Blackfin bf5xx */
145: #define PORT_BFIN       75
146: 
147: /* Micrel KS8695 */
148: #define PORT_KS8695     76
149: 
150: /* Broadcom SB1250, etc. SOC */
151: #define PORT_SB1250_DUART       77
152: 
153: /* Freescale ColdFire */
154: #define PORT_MCF        78
155: 
156: /* Blackfin SPORT */
157: #define PORT_BFIN_SPORT         79
158: 
159: /* MN10300 on-chip UART numbers */
160: #define PORT_MN10300            80
161: #define PORT_MN10300_CTS        81
162: 
163: #define PORT_SC26XX     82
164: 
165: /* SH-SCI */
166: #define PORT_SCIFA      83
167: 
168: #define PORT_S3C6400    84
169: 
170: /* NWPSERIAL */
171: #define PORT_NWPSERIAL  85
172: 
173: /* MAX3100 */
174: #define PORT_MAX3100    86
175: 
176: /* Timberdale UART */
177: #define PORT_TIMBUART   87
178: 
179: /* Qualcomm MSM SoCs */
180: #define PORT_MSM        88
181: 
182: /* BCM63xx family SoCs */
183: #define PORT_BCM63XX    89
184: 
185: /* Aeroflex Gaisler GRLIB APBUART */
186: #define PORT_APBUART    90
187: 
188: /* Altera UARTs */
189: #define PORT_ALTERA_JTAGUART    91
190: #define PORT_ALTERA_UART        92
191: 
192: /* SH-SCI */
193: #define PORT_SCIFB      93
194: 
195: /* MAX3107 */
196: #define PORT_MAX3107    94
197: 
198: /* High Speed UART for Medfield */
199: #define PORT_MFD        95
200: 
201: /* TI OMAP-UART */
202: #define PORT_OMAP       96
203: 
204: /* VIA VT8500 SoC */
205: #define PORT_VT8500     97
206: 
207: /* Xilinx PSS UART */
208: #define PORT_XUARTPS    98
209: 
210: 
211: #endif /* LINUX_SERIAL_CORE_H */
212: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/