hpsim.h 364 B

1234567891011121314151617
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef _ASMIA64_HPSIM_H
  3. #define _ASMIA64_HPSIM_H
  4. #ifndef CONFIG_HP_SIMSERIAL_CONSOLE
  5. static inline int simcons_register(void) { return 1; }
  6. #else
  7. int simcons_register(void);
  8. #endif
  9. struct tty_driver;
  10. extern struct tty_driver *hp_simserial_driver;
  11. extern int hpsim_get_irq(int intr);
  12. void ia64_ctl_trace(long on);
  13. #endif