diff options
Diffstat (limited to 'i386/i386at/com.h')
-rw-r--r-- | i386/i386at/com.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/i386/i386at/com.h b/i386/i386at/com.h index 49f23ee..7d5ee5e 100644 --- a/i386/i386at/com.h +++ b/i386/i386at/com.h @@ -28,6 +28,7 @@ #include <mach/std_types.h> #include <device/cons.h> +#include <device/tty.h> /* * Set receive modem state from modem status register. @@ -47,5 +48,26 @@ extern int comcnprobe(struct consdev *cp); extern int comcninit(struct consdev *cp); extern int comcngetc(dev_t dev, int wait); extern int comcnputc(dev_t dev, int c); +extern void comintr(int unit); + +int comprobe(int port, struct bus_device *dev); +int commctl(struct tty *tp, int bits, int how); +void comstart(struct tty *tp); +void comstop(struct tty *tp, int flags); +void comattach(struct bus_device *dev); + +io_return_t +comgetstat( + dev_t dev, + int flavor, + int *data, + natural_t *count); + +io_return_t +comsetstat( + dev_t dev, + int flavor, + int *data, + natural_t count); #endif /* _COM_H_ */ |