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

http://github.com/mirrors/linux · C++ Header · 36 lines · 20 code · 5 blank · 11 comment · 0 complexity · 82b741bc8ca30725e2e991398e8c0681 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. #ifndef _ASM_SERIAL_H
  12. #define _ASM_SERIAL_H
  13. /* Standard COM flags (except for COM4, because of the 8514 problem) */
  14. #ifdef CONFIG_SERIAL_8250_DETECT_IRQ
  15. #define STD_COM_FLAGS (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | UPF_AUTO_IRQ)
  16. #define STD_COM4_FLAGS (UPF_BOOT_AUTOCONF | UPF_AUTO_IRQ)
  17. #else
  18. #define STD_COM_FLAGS (UPF_BOOT_AUTOCONF | UPF_SKIP_TEST)
  19. #define STD_COM4_FLAGS UPF_BOOT_AUTOCONF
  20. #endif
  21. #ifdef CONFIG_SERIAL_8250_MANY_PORTS
  22. #define FOURPORT_FLAGS UPF_FOURPORT
  23. #define ACCENT_FLAGS 0
  24. #define BOCA_FLAGS 0
  25. #define HUB6_FLAGS 0
  26. #define RS_TABLE_SIZE 64
  27. #else
  28. #define RS_TABLE_SIZE
  29. #endif
  30. #include <unit/serial.h>
  31. #endif /* _ASM_SERIAL_H */