Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

serial.h 859B

1234567891011121314151617181920212223242526272829303132333435
  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. FILE_LICENCE ( GPL2_OR_LATER );
  13. #define COMCONSOLE COM1 /* I/O port address */
  14. /* Keep settings from a previous user of the serial port (e.g. lilo or
  15. * LinuxBIOS), ignoring COMSPEED, COMDATA, COMPARITY and COMSTOP.
  16. */
  17. #undef COMPRESERVE
  18. #ifndef COMPRESERVE
  19. #define COMSPEED 115200 /* Baud rate */
  20. #define COMDATA 8 /* Data bits */
  21. #define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
  22. #define COMSTOP 1 /* Stop bits */
  23. #endif
  24. #include <config/named.h>
  25. #include NAMED_CONFIG(serial.h)
  26. #include <config/local/serial.h>
  27. #include LOCAL_NAMED_CONFIG(serial.h)
  28. #endif /* CONFIG_SERIAL_H */