| 
									
										
										
										
											2008-02-08 04:19:31 -08:00
										 |  |  | /* Standard UART definitions
 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * Written by David Howells (dhowells@redhat.com) | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * This program is free software; you can redistribute it and/or | 
					
						
							|  |  |  |  * modify it under the terms of the GNU General Public Licence | 
					
						
							|  |  |  |  * as published by the Free Software Foundation; either version | 
					
						
							|  |  |  |  * 2 of the Licence, or (at your option) any later version. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-10-27 17:28:55 +01:00
										 |  |  | #ifndef _ASM_SERIAL_H
 | 
					
						
							|  |  |  | #define _ASM_SERIAL_H
 | 
					
						
							| 
									
										
										
										
											2008-02-08 04:19:31 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* Standard COM flags (except for COM4, because of the 8514 problem) */ | 
					
						
							|  |  |  | #ifdef CONFIG_SERIAL_DETECT_IRQ
 | 
					
						
							|  |  |  | #define STD_COM_FLAGS	(ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ)
 | 
					
						
							|  |  |  | #define STD_COM4_FLAGS	(ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ)
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #define STD_COM_FLAGS	(ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
 | 
					
						
							|  |  |  | #define STD_COM4_FLAGS	ASYNC_BOOT_AUTOCONF
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifdef CONFIG_SERIAL_MANY_PORTS
 | 
					
						
							|  |  |  | #define FOURPORT_FLAGS	ASYNC_FOURPORT
 | 
					
						
							|  |  |  | #define ACCENT_FLAGS	0
 | 
					
						
							|  |  |  | #define BOCA_FLAGS	0
 | 
					
						
							|  |  |  | #define HUB6_FLAGS	0
 | 
					
						
							|  |  |  | #define RS_TABLE_SIZE	64
 | 
					
						
							|  |  |  | #else
 | 
					
						
							|  |  |  | #define RS_TABLE_SIZE
 | 
					
						
							|  |  |  | #endif
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-04-10 14:33:48 +01:00
										 |  |  | #include <unit/serial.h>
 | 
					
						
							| 
									
										
										
										
											2010-10-27 17:28:55 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif /* _ASM_SERIAL_H */
 |