You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

serial.h 697B

12345678910111213141516171819202122232425262728
  1. #ifndef CONFIG_SERIAL_H
  2. #define CONFIG_SERIAL_H
  3. /** @file
  4. *
  5. * Serial port configuration
  6. *
  7. * These options affect the operation of the serial console. They
  8. * take effect only if the serial console is included using the
  9. * CONSOLE_SERIAL option.
  10. *
  11. */
  12. #define COMCONSOLE 0x3f8 /* I/O port address */
  13. /* Keep settings from a previous user of the serial port (e.g. lilo or
  14. * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
  15. */
  16. #undef COMPRESERVE
  17. #ifndef COMPRESERVE
  18. #define COMSPEED 115200 /* Baud rate */
  19. #define COMDATA 8 /* Data bits */
  20. #define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
  21. #define COMSTOP 1 /* Stop bits */
  22. #endif
  23. #endif /* CONFIG_SERIAL_H */