Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
net
irda
irtty-sir.h
Go to the documentation of this file.
1
/*********************************************************************
2
*
3
* sir_tty.h: definitions for the irtty_sir client driver (former irtty)
4
*
5
* Copyright (c) 2002 Martin Diehl
6
*
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.
11
*
12
********************************************************************/
13
14
#ifndef IRTTYSIR_H
15
#define IRTTYSIR_H
16
17
#include <
net/irda/irda.h
>
18
#include <
net/irda/irda_device.h
>
// chipio_t
19
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
24
25
struct
sirtty_cb
{
26
magic_t
magic
;
27
28
struct
sir_dev
*
dev
;
29
struct
tty_struct
*
tty
;
30
31
chipio_t
io
;
/* IrDA controller information */
32
};
33
34
#endif
Generated on Thu Jan 10 2013 14:06:45 for Linux Kernel by
1.8.2