Peter Chubb | 8b713c6 | 2007-08-21 13:51:45 +1000 | [diff] [blame] | 1 | #ifndef _ASMIA64_HPSIM_H |
| 2 | #define _ASMIA64_HPSIM_H |
| 3 | |
| 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 | |
Peter Chubb | 7b3166d | 2007-08-21 13:57:01 +1000 | [diff] [blame] | 10 | struct tty_driver; |
| 11 | extern struct tty_driver *hp_simserial_driver; |
| 12 | |
Jiri Slaby | 6efb6b7 | 2012-03-08 21:01:18 +0100 | [diff] [blame] | 13 | extern int hpsim_get_irq(int intr); |
Peter Chubb | 7b3166d | 2007-08-21 13:57:01 +1000 | [diff] [blame] | 14 | void ia64_ctl_trace(long on); |
| 15 | |
Peter Chubb | 8b713c6 | 2007-08-21 13:51:45 +1000 | [diff] [blame] | 16 | #endif |