~ubuntu-branches/ubuntu/karmic/linux-fsl-imx51/karmic

« back to all changes in this revision

Viewing changes to ubuntu/lirc/lirc_wpc8769l/lirc_wpc8769l.h

  • Committer: Bazaar Package Importer
  • Author(s): Andy Whitcroft, Andy Whitcroft, Upstream Kernel Changes, Ubuntu: 2.6.31-14.46, Ubuntu: 2.6.31-13.45, Ubuntu: 2.6.31-13.44
  • Date: 2009-10-13 15:59:33 UTC
  • Revision ID: james.westby@ubuntu.com-20091013155933-hxzquigs9nqajd9x
Tags: 2.6.31-105.14
[ Andy Whitcroft ]

* rebase to Ubuntu-2.6.31-14.46
* [Config] update configs since rebase to Ubuntu-2.6.31-14.46
* lirc update dropped module lirc_mceusb2

[ Upstream Kernel Changes ]

* mxc spi: fix spi driver for 2.6.31
  - LP: #427289, #446140

[ Ubuntu: 2.6.31-14.46 ]

* reinstate armel.mk with no flavours
  - LP: #449637
* [Upstream] elevator: fix fastfail checks to allow merge of readahead
  requests
  - LP: #444915
* [Upstream] block: silently error unsupported empty barriers too
  - LP: #420423
* SAUCE: AppArmor: Fix mediation of "deleted" paths
  - LP: #415632
* [Config] CONFIG_X86_MCE
  https://lists.ubuntu.com/archives/kernel-team/2009-October/007584.html
* Revert "appletalk: Fix skb leak when ipddp interface is not loaded,
  CVE-2009-2903" - Use patch from 2.6.31.4 which is slightly different.
* x86: fix csum_ipv6_magic asm memory clobber
* tty: Avoid dropping ldisc_mutex over hangup tty re-initialization
* x86: Don't leak 64-bit kernel register values to 32-bit processes
* tracing: correct module boundaries for ftrace_release
* ftrace: check for failure for all conversions
* futex: fix requeue_pi key imbalance
* futex: Move exit_pi_state() call to release_mm()
* futex: Nullify robust lists after cleanup
* futex: Fix locking imbalance
* NOHZ: update idle state also when NOHZ is inactive
* ima: ecryptfs fix imbalance message
* libata: fix incorrect link online check during probe
* sound: via82xx: move DXS volume controls to PCM interface
* ASoC: WM8350 capture PGA mutes are inverted
* KVM: Prevent overflow in KVM_GET_SUPPORTED_CPUID
* KVM: VMX: flush TLB with INVEPT on cpu migration
* KVM: fix LAPIC timer period overflow
* KVM: SVM: Fix tsc offset adjustment when running nested
* KVM: SVM: Handle tsc in svm_get_msr/svm_set_msr correctly
* net: Fix wrong sizeof
* mm: add_to_swap_cache() must not sleep
* sis5513: fix PIO setup for ATAPI devices
* PIT fixes to unbreak suspend/resume (bug #14222)
* IMA: open new file for read
* ACPI: Clarify resource conflict message
* ACPI: fix Compaq Evo N800c (Pentium 4m) boot hang regression
* net: restore tx timestamping for accelerated vlans
* net: unix: fix sending fds in multiple buffers
* tun: Return -EINVAL if neither IFF_TUN nor IFF_TAP is set.
* tcp: fix CONFIG_TCP_MD5SIG + CONFIG_PREEMPT timer BUG()
* net: Fix sock_wfree() race
* smsc95xx: fix transmission where ZLP is expected
* sky2: Set SKY2_HW_RAM_BUFFER in sky2_init
* appletalk: Fix skb leak when ipddp interface is not loaded
* ax25: Fix possible oops in ax25_make_new
* ax25: Fix SIOCAX25GETINFO ioctl
* sit: fix off-by-one in ipip6_tunnel_get_prl
* Linux 2.6.31.4
* drm/i915: Fix FDI M/N setting according with correct color depth
  - LP: #416792

[ Ubuntu: 2.6.31-13.45 ]

* [Config] Add sd_mod to scsi-modules udeb for powerpc
* SAUCE: Update to LIRC 0.8.6
  - LP: #432678
* [Config] CONFIG_X86_PAT=y
  https://lists.ubuntu.com/archives/kernel-team/2009-October/007477.html
  https://lists.ubuntu.com/archives/kernel-team/2009-October/007534.html
* [Config] Add armel arch to linux-libc-dev arches.
  - LP: #449637
* e1000e: swap max hw supported frame size between 82574 and 82583
* drm/i915: Initialize HDMI outputs as HDMI connectors, not DVI.
  - LP: #392017
* ALSA: hda - Add quirks for some HP laptops
  - LP: #449742
* ALSA: hda - Add support for HP dv6
  - LP: #449742

[ Ubuntu: 2.6.31-13.44 ]

* sgi-gru: Fix kernel stack buffer overrun, CVE-2009-2584
* appletalk: Fix skb leak when ipddp interface is not loaded,
  CVE-2009-2903
  Note - This patch causes an ABI change in the symbol aarp_send_ddp
  which I'm ignoring.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*      $Id: lirc_wpc8769l.h,v 1.4 2009/02/05 20:55:20 lirc Exp $      */
 
1
/*      $Id: lirc_wpc8769l.h,v 1.5 2009/06/15 15:11:39 jarodwilson Exp $      */
2
2
 
3
3
/****************************************************************************
4
4
 ** lirc_wpc8769l.h ****************************************************
67
67
/* WPC8769L register set definitions. Note that these are all wild guesses.*/
68
68
 
69
69
/* Registers for I/O range 1. */
70
 
#define WPC8769L_SELECT_REG                             0x03
 
70
#define WPC8769L_SELECT_REG                     0x03
71
71
 
72
72
/*------------*/
73
 
#define WPC8769L_BANK_00                                0x00
 
73
#define WPC8769L_BANK_00                        0x00
74
74
 
75
 
#define WPC8769L_DATA_REG                               0x00
 
75
#define WPC8769L_DATA_REG                       0x00
76
76
 
77
77
#define WPC8769L_INTERRUPT_REG                  0x01
78
78
#define WPC8769L_INTERRUPT_1_MASK               0x01
83
83
#define WPC8769L_DATA_STATUS_MASK_1             0x02
84
84
#define WPC8769L_DATA_STATUS_MASK_2             0xd0
85
85
 
86
 
#define WPC8769L_CONFIG_REG                             0x04
 
86
#define WPC8769L_CONFIG_REG                     0x04
87
87
#define WPC8769L_CONFIG_OFF_MASK                0xe0
88
88
#define WPC8769L_CONFIG_ON_MASK                 0xc0
89
89
 
94
94
#define WPC8769L_TIMEOUT_RESET_MASK             0x20
95
95
 
96
96
/*------------*/
97
 
#define WPC8769L_BANK_E0                                0xe0
 
97
#define WPC8769L_BANK_E0                        0xe0
98
98
 
99
99
#define WPC8769L_CONFIG6_REG                    0x00
100
100
#define WPC8769L_CONFIG6_MASK                   0x4b
101
101
 
102
102
#define WPC8769L_CONFIG7_REG                    0x01
103
103
 
104
 
#define WPC8769L_HARDWARE_ENABLE1_REG   0x02
105
 
#define WPC8769L_HARDWARE_ENABLE1_MASK  0x01
 
104
#define WPC8769L_HARDWARE_ENABLE1_REG           0x02
 
105
#define WPC8769L_HARDWARE_ENABLE1_MASK          0x01
106
106
 
107
107
#define WPC8769L_CONFIG5_REG                    0x04
108
108
#define WPC8769L_CONFIG5_ON_MASK                0x30
109
109
 
110
 
#define WPC8769L_REMAINING_RX_DATA_REG  0x07
111
 
 
112
 
/*------------*/
113
 
#define WPC8769L_BANK_E4                                0xe4
114
 
 
115
 
#define WPC8769L_READ_ON_STARTUP_REG    0x00
116
 
 
117
 
/*------------*/
118
 
#define WPC8769L_BANK_EC                                0xec
 
110
#define WPC8769L_REMAINING_RX_DATA_REG          0x07
 
111
 
 
112
/*------------*/
 
113
#define WPC8769L_BANK_E4                        0xe4
 
114
 
 
115
#define WPC8769L_READ_ON_STARTUP_REG            0x00
 
116
 
 
117
/*------------*/
 
118
#define WPC8769L_BANK_EC                        0xec
119
119
 
120
120
#define WPC8769L_CONFIG3_REG                    0x04
121
121
#define WPC8769L_CONFIG3_ON_MASK                0x01
122
122
#define WPC8769L_CONFIG3_MASK_1                 0x10
123
123
 
124
124
/*------------*/
125
 
#define WPC8769L_BANK_F0                                0xf0
 
125
#define WPC8769L_BANK_F0                        0xf0
126
126
 
127
 
#define WPC8769L_WAKEUP_STATUS_LEG_REG  0x02
128
 
#define WPC8769L_WAKEUP_STATUS_LEG_MASK 0x04
 
127
#define WPC8769L_WAKEUP_STATUS_LEG_REG          0x02
 
128
#define WPC8769L_WAKEUP_STATUS_LEG_MASK         0x04
129
129
#define WPC8769L_WAKEUP_STATUS_LEG_MASK_A       0x02
130
130
#define WPC8769L_WAKEUP_STATUS_LEG_MASK_B       0x08
131
131
 
132
132
/*------------*/
133
 
#define WPC8769L_BANK_F4                                0xf4
 
133
#define WPC8769L_BANK_F4                        0xf4
134
134
 
135
135
#define WPC8769L_CONFIG9_REG                    0x01
136
136
 
157
157
#define WPC8769L_CLOCK_ON_MASK                  0x01
158
158
 
159
159
#define WPC8769L_WAKEUP_CONFIG_REG              0x1a
160
 
#define WPC8769L_WAKEUP_CONFIG_PRE_MASK 0x80
 
160
#define WPC8769L_WAKEUP_CONFIG_PRE_MASK         0x80
161
161
#define WPC8769L_MAX_INFO_BITS_BIAS             0x0e
162
 
#define WPC8769L_MAX_INFO_BITS_SHIFT    0x01
 
162
#define WPC8769L_MAX_INFO_BITS_SHIFT            0x01
163
163
 
164
164
#define WPC8769L_WAKEUP_CONFIG3_REG             0x13
165
165
#define WPC8769L_WAKEUP_CONFIG3_OFF_MASK        0x10
166
 
#define WPC8769L_WAKEUP_CONFIG3_ON_MASK 0x21
167
 
#define WPC8769L_WAKEUP_CONFIG3_A_SHIFT 0x01
168
 
#define WPC8769L_WAKEUP_CONFIG3_A_MASK  0x03
169
 
#define WPC8769L_WAKEUP_CONFIG3_B_SHIFT 0x03
170
 
#define WPC8769L_WAKEUP_CONFIG3_B_MASK  0x01
 
166
#define WPC8769L_WAKEUP_CONFIG3_ON_MASK         0x21
 
167
#define WPC8769L_WAKEUP_CONFIG3_A_SHIFT         0x01
 
168
#define WPC8769L_WAKEUP_CONFIG3_A_MASK          0x03
 
169
#define WPC8769L_WAKEUP_CONFIG3_B_SHIFT         0x03
 
170
#define WPC8769L_WAKEUP_CONFIG3_B_MASK          0x01
171
171
 
172
172
#define WPC8769L_WAKEUP_STATUS_REG              0x14
173
 
#define WPC8769L_WAKEUP_WOKE_UP_MASK    0x01
 
173
#define WPC8769L_WAKEUP_WOKE_UP_MASK            0x01
174
174
#define WPC8769L_WAKEUP_CONFIGURING_MASK        0x17
175
175
 
176
176
#define WPC8769L_WAKEUP_CONFIG2_REG             0x15
177
177
#define WPC8769L_WAKEUP_CONFIG2_AND_MASK        0xf9
178
 
#define WPC8769L_WAKEUP_CONFIG2_OR_MASK 0x01
 
178
#define WPC8769L_WAKEUP_CONFIG2_OR_MASK         0x01
179
179
 
180
 
#define WPC8769L_WAKEUP_DATA_PTR_REG    0x18
 
180
#define WPC8769L_WAKEUP_DATA_PTR_REG            0x18
181
181
#define WPC8769L_WAKEUP_DATA_BITS               0x20
182
182
#define WPC8769L_WAKEUP_DATA_BASE               0x10
183
183
#define WPC8769L_WAKEUP_MASK_BASE               0x20