/arch/mn10300/include/asm/serial.h

https://bitbucket.org/cresqo/cm7-p500-kernel · C Header · 36 lines · 18 code · 4 blank · 14 comment · 0 complexity · 0b163204d6686d0fa8063ee5395dae58 MD5 · raw file

  1. /* Standard UART definitions
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public Licence
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the Licence, or (at your option) any later version.
  10. */
  11. /*
  12. * The ASB2305 has an 18.432 MHz clock the UART
  13. */
  14. #define BASE_BAUD (18432000 / 16)
  15. /* Standard COM flags (except for COM4, because of the 8514 problem) */
  16. #ifdef CONFIG_SERIAL_DETECT_IRQ
  17. #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST | ASYNC_AUTO_IRQ)
  18. #define STD_COM4_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_AUTO_IRQ)
  19. #else
  20. #define STD_COM_FLAGS (ASYNC_BOOT_AUTOCONF | ASYNC_SKIP_TEST)
  21. #define STD_COM4_FLAGS ASYNC_BOOT_AUTOCONF
  22. #endif
  23. #ifdef CONFIG_SERIAL_MANY_PORTS
  24. #define FOURPORT_FLAGS ASYNC_FOURPORT
  25. #define ACCENT_FLAGS 0
  26. #define BOCA_FLAGS 0
  27. #define HUB6_FLAGS 0
  28. #define RS_TABLE_SIZE 64
  29. #else
  30. #define RS_TABLE_SIZE
  31. #endif
  32. #include <unit/serial.h>