1 /*********************************************************************
3 * sir_tty.h: definitions for the irtty_sir client driver (former irtty)
5 * Copyright (c) 2002 Martin Diehl
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of
10 * the License, or (at your option) any later version.
12 ********************************************************************/
17 #include <net/irda/irda.h>
18 #include <net/irda/irda_device.h> // chipio_t
20 #define IRTTY_IOC_MAGIC 'e'
21 #define IRTTY_IOCTDONGLE _IO(IRTTY_IOC_MAGIC, 1)
22 #define IRTTY_IOCGET _IOR(IRTTY_IOC_MAGIC, 2, struct irtty_info)
23 #define IRTTY_IOC_MAXNR 2
29 struct tty_struct *tty;
31 chipio_t io; /* IrDA controller information */