* add p cc
[mascara-docs.git] / i386 / linux / linux-2.3.21 / include / net / irda / dongle.h
blobfd7c7131f2efdb8aa9bf0cf4111f80d878b44fbf
1 /*********************************************************************
2 *
3 * Filename: dongle.h
4 * Version:
5 * Description:
6 * Status: Experimental.
7 * Author: Dag Brattli <dagb@cs.uit.no>
8 * Created at: Wed Oct 21 22:47:12 1998
9 * Modified at: Sat Jun 26 16:58:44 1999
10 * Modified by: Dag Brattli <dagb@cs.uit.no>
12 * Copyright (c) 1998-1999 Dag Brattli, All Rights Reserved.
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of
17 * the License, or (at your option) any later version.
19 * Neither Dag Brattli nor University of Tromsø admit liability nor
20 * provide warranty for any of this software. This material is
21 * provided "AS-IS" and at no charge.
23 ********************************************************************/
25 #ifndef DONGLE_H
26 #define DONGLE_H
28 #include <net/irda/qos.h>
30 /* These are the currently known dongles */
31 typedef enum {
32 TEKRAM_DONGLE,
33 ESI_DONGLE,
34 ACTISYS_DONGLE,
35 ACTISYS_PLUS_DONGLE,
36 GIRBIL_DONGLE,
37 LITELINK_DONGLE,
38 AIRPORT_DONGLE,
39 } IRDA_DONGLE;
41 struct irda_device;
43 struct dongle {
44 IRDA_DONGLE type;
45 void (*open)(struct irda_device *, int type);
46 void (*close)(struct irda_device *);
47 void (*reset)( struct irda_device *);
48 void (*change_speed)( struct irda_device *, __u32 speed);
49 void (*qos_init)( struct irda_device *, struct qos_info *);
52 #endif