18 lines
		
	
	
	
		
			446 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
	
		
			446 B
			
		
	
	
	
		
			C
		
	
	
	
	
	
|   | /*
 | ||
|  |  * Derived from the i386 version. | ||
|  |  */ | ||
|  | 
 | ||
|  | /*
 | ||
|  |  * This assumes you have a 1.8432 MHz clock for your UART. | ||
|  |  * | ||
|  |  * It'd be nice if someone built a serial card with a 24.576 MHz | ||
|  |  * clock, since the 16550A is capable of handling a top speed of 1.5 | ||
|  |  * megabits/second; but this requires the faster clock. | ||
|  |  */ | ||
|  | #define BASE_BAUD ( 1843200 / 16 )
 | ||
|  | 
 | ||
|  | /*
 | ||
|  |  * All legacy serial ports should be enumerated via ACPI namespace, so | ||
|  |  * we need not list them here. | ||
|  |  */ |