| 
									
										
										
										
											2007-10-11 23:46:10 +01:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  *  Machine specific IO port address definition for generic. | 
					
						
							|  |  |  |  *  Written by Osamu Tomita <tomita@cinet.co.jp> | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2007-10-22 15:17:39 +01:00
										 |  |  | #ifndef __ASM_I8253_H
 | 
					
						
							|  |  |  | #define __ASM_I8253_H
 | 
					
						
							| 
									
										
										
										
											2007-10-11 23:46:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-11-02 17:26:06 +00:00
										 |  |  | #include <linux/spinlock.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-11 23:46:10 +01:00
										 |  |  | /* i8253A PIT registers */ | 
					
						
							|  |  |  | #define PIT_MODE		0x43
 | 
					
						
							|  |  |  | #define PIT_CH0			0x40
 | 
					
						
							|  |  |  | #define PIT_CH2			0x42
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-11-02 17:26:06 +00:00
										 |  |  | extern spinlock_t i8253_lock; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-11 23:46:10 +01:00
										 |  |  | extern void setup_pit_timer(void); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-10-22 15:17:39 +01:00
										 |  |  | #endif /* __ASM_I8253_H */
 |