TOMOYO: Use callback for updating entries.
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / net / irda / irtty-sir.h
blobb132d8f6eb1340e787a5696bc9b13fb4ac4ea8b3
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 ********************************************************************/
14 #ifndef IRTTYSIR_H
15 #define IRTTYSIR_H
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
25 struct sirtty_cb {
26 magic_t magic;
28 struct sir_dev *dev;
29 struct tty_struct *tty;
31 chipio_t io; /* IrDA controller information */
34 #endif