The serial port drivers (s3c2410_serial and u16550_serial) can be given parameters when they are initialised. This is achieved by placing additional comma separated parameters after the driver name within the containing brackets.
The configuration format is in one of the forms:
Options may be omitted. Such options are either left as the current settings or set to defaults as necessary. The default settings, when the ports are first initialised, is 115200 baud, eight data bits, no parity and a single stop bit (115200,8n1)
The data format is specified as three single character
values. The first denotes the number of data bits, typically
eight or seven. The second sets the parity type one of none
n), odd (
e). The third is the number of stop
bits either one or two.
Example 5.2. Setting serial console driver parameters
To use the s3c2410_serial driver first port at 19200 baud using the default data format
To use the s3c2410_serial driver second port at 38400 baud, 8 data bits, no parity and a single stop bit
To use the u16550_serial driver first port with the current baud rate, 8 data bits, no parity and a single stop bit