~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/char/pcmcia/ipwireless/tty.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * IPWireless 3G PCMCIA Network Driver
3
 
 *
4
 
 * Original code
5
 
 *   by Stephen Blackheath <stephen@blacksapphire.com>,
6
 
 *      Ben Martel <benm@symmetric.co.nz>
7
 
 *
8
 
 * Copyrighted as follows:
9
 
 *   Copyright (C) 2004 by Symmetric Systems Ltd (NZ)
10
 
 *
11
 
 * Various driver changes and rewrites, port to new kernels
12
 
 *   Copyright (C) 2006-2007 Jiri Kosina
13
 
 *
14
 
 * Misc code cleanups and updates
15
 
 *   Copyright (C) 2007 David Sterba
16
 
 */
17
 
 
18
 
#ifndef _IPWIRELESS_CS_TTY_H_
19
 
#define _IPWIRELESS_CS_TTY_H_
20
 
 
21
 
#include <linux/types.h>
22
 
#include <linux/sched.h>
23
 
 
24
 
#include <pcmcia/cistpl.h>
25
 
#include <pcmcia/ds.h>
26
 
 
27
 
struct ipw_tty;
28
 
struct ipw_network;
29
 
struct ipw_hardware;
30
 
 
31
 
int ipwireless_tty_init(void);
32
 
void ipwireless_tty_release(void);
33
 
 
34
 
struct ipw_tty *ipwireless_tty_create(struct ipw_hardware *hw,
35
 
                                      struct ipw_network *net);
36
 
void ipwireless_tty_free(struct ipw_tty *tty);
37
 
void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data,
38
 
                             unsigned int length);
39
 
int ipwireless_tty_is_modem(struct ipw_tty *tty);
40
 
void ipwireless_tty_notify_control_line_change(struct ipw_tty *tty,
41
 
                                               unsigned int channel_idx,
42
 
                                               unsigned int control_lines,
43
 
                                               unsigned int changed_mask);
44
 
 
45
 
#endif