~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to drivers/staging/generic_serial/rio/linux_compat.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno
  • Date: 2011-06-07 12:14:05 UTC
  • mfrom: (43.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20110607121405-i3h1rd7nrnd2b73h
Tags: 2.6.39-2
[ Ben Hutchings ]
* [x86] Enable BACKLIGHT_APPLE, replacing BACKLIGHT_MBP_NVIDIA
  (Closes: #627492)
* cgroups: Disable memory resource controller by default. Allow it
  to be enabled using kernel parameter 'cgroup_enable=memory'.
* rt2800usb: Enable support for more USB devices including
  Linksys WUSB600N (Closes: #596626) (this change was accidentally
  omitted from 2.6.39-1)
* [x86] Remove Celeron from list of processors supporting PAE. Most
  'Celeron M' models do not.
* Update debconf template translations:
  - Swedish (Martin Bagge) (Closes: #628932)
  - French (David Prévot) (Closes: #628191)
* aufs: Update for 2.6.39 (Closes: #627837)
* Add stable 2.6.39.1, including:
  - ext4: dont set PageUptodate in ext4_end_bio()
  - pata_cmd64x: fix boot crash on parisc (Closes: #622997, #622745)
  - ext3: Fix fs corruption when make_indexed_dir() fails
  - netfilter: nf_ct_sip: validate Content-Length in TCP SIP messages
  - sctp: fix race between sctp_bind_addr_free() and
    sctp_bind_addr_conflict()
  - sctp: fix memory leak of the ASCONF queue when free asoc
  - md/bitmap: fix saving of events_cleared and other state
  - cdc_acm: Fix oops when Droids MuIn LCD is connected
  - cx88: Fix conversion from BKL to fine-grained locks (Closes: #619827)
  - keys: Set cred->user_ns in key_replace_session_keyring (CVE-2011-2184)
  - tmpfs: fix race between truncate and writepage
  - nfs41: Correct offset for LAYOUTCOMMIT
  - xen/mmu: fix a race window causing leave_mm BUG()
  - ext4: fix possible use-after-free in ext4_remove_li_request()
  For the complete list of changes, see:
   http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.39.1
* Bump ABI to 2
* netfilter: Enable IP_SET, IP_SET_BITMAP_IP, IP_SET_BITMAP_IPMAC,
  IP_SET_BITMAP_PORT, IP_SET_HASH_IP, IP_SET_HASH_IPPORT,
  IP_SET_HASH_IPPORTIP, IP_SET_HASH_IPPORTNET, IP_SET_HASH_NET,
  IP_SET_HASH_NETPORT, IP_SET_LIST_SET, NETFILTER_XT_SET as modules
  (Closes: #629401)

[ Aurelien Jarno ]
* [mipsel/loongson-2f] Disable_SCSI_LPFC to workaround GCC ICE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (C) 2000 R.E.Wolff@BitWizard.nl
 
3
 *
 
4
 *      This program is free software; you can redistribute it and/or modify
 
5
 *      it under the terms of the GNU General Public License as published by
 
6
 *      the Free Software Foundation; either version 2 of the License, or
 
7
 *      (at your option) any later version.
 
8
 *
 
9
 *      This program is distributed in the hope that it will be useful,
 
10
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
 *      GNU General Public License for more details.
 
13
 *
 
14
 *      You should have received a copy of the GNU General Public License
 
15
 *      along with this program; if not, write to the Free Software
 
16
 *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
17
 */
 
18
 
 
19
#include <linux/interrupt.h>
 
20
 
 
21
 
 
22
#define DEBUG_ALL
 
23
 
 
24
struct ttystatics {
 
25
        struct termios tm;
 
26
};
 
27
 
 
28
extern int rio_debug;
 
29
 
 
30
#define RIO_DEBUG_INIT         0x000001
 
31
#define RIO_DEBUG_BOOT         0x000002
 
32
#define RIO_DEBUG_CMD          0x000004
 
33
#define RIO_DEBUG_CTRL         0x000008
 
34
#define RIO_DEBUG_INTR         0x000010
 
35
#define RIO_DEBUG_PARAM        0x000020
 
36
#define RIO_DEBUG_ROUTE        0x000040
 
37
#define RIO_DEBUG_TABLE        0x000080
 
38
#define RIO_DEBUG_TTY          0x000100
 
39
#define RIO_DEBUG_FLOW         0x000200
 
40
#define RIO_DEBUG_MODEMSIGNALS 0x000400
 
41
#define RIO_DEBUG_PROBE        0x000800
 
42
#define RIO_DEBUG_CLEANUP      0x001000
 
43
#define RIO_DEBUG_IFLOW        0x002000
 
44
#define RIO_DEBUG_PFE          0x004000
 
45
#define RIO_DEBUG_REC          0x008000
 
46
#define RIO_DEBUG_SPINLOCK     0x010000
 
47
#define RIO_DEBUG_DELAY        0x020000
 
48
#define RIO_DEBUG_MOD_COUNT    0x040000
 
49
 
 
50
 
 
51
/* Copied over from riowinif.h . This is ugly. The winif file declares
 
52
also much other stuff which is incompatible with the headers from
 
53
the older driver. The older driver includes "brates.h" which shadows
 
54
the definitions from Linux, and is incompatible... */
 
55
 
 
56
/* RxBaud and TxBaud definitions... */
 
57
#define RIO_B0                  0x00    /* RTS / DTR signals dropped */
 
58
#define RIO_B50                 0x01    /* 50 baud */
 
59
#define RIO_B75                 0x02    /* 75 baud */
 
60
#define RIO_B110                0x03    /* 110 baud */
 
61
#define RIO_B134                0x04    /* 134.5 baud */
 
62
#define RIO_B150                0x05    /* 150 baud */
 
63
#define RIO_B200                0x06    /* 200 baud */
 
64
#define RIO_B300                0x07    /* 300 baud */
 
65
#define RIO_B600                0x08    /* 600 baud */
 
66
#define RIO_B1200               0x09    /* 1200 baud */
 
67
#define RIO_B1800               0x0A    /* 1800 baud */
 
68
#define RIO_B2400               0x0B    /* 2400 baud */
 
69
#define RIO_B4800               0x0C    /* 4800 baud */
 
70
#define RIO_B9600               0x0D    /* 9600 baud */
 
71
#define RIO_B19200              0x0E    /* 19200 baud */
 
72
#define RIO_B38400              0x0F    /* 38400 baud */
 
73
#define RIO_B56000              0x10    /* 56000 baud */
 
74
#define RIO_B57600              0x11    /* 57600 baud */
 
75
#define RIO_B64000              0x12    /* 64000 baud */
 
76
#define RIO_B115200             0x13    /* 115200 baud */
 
77
#define RIO_B2000               0x14    /* 2000 baud */