Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311289
b: refs/heads/master
c: ac6e4c1
h: refs/heads/master
i:
  311287: f222189
v: v3
  • Loading branch information
Sasha Levin authored and Mauro Carvalho Chehab committed Jun 18, 2012
1 parent 07a3fff commit 17d4b66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 70c276a6abdb1a466a9026da631c396fee2984bd
refs/heads/master: ac6e4c1560f8d3d18e6ba265d84ff03810496f4f
6 changes: 6 additions & 0 deletions trunk/drivers/staging/media/lirc/lirc_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ static void send_space_homebrew(long length);

static struct lirc_serial hardware[] = {
[LIRC_HOMEBREW] = {
.lock = __SPIN_LOCK_UNLOCKED(hardware[LIRC_HOMEBREW].lock),
.signal_pin = UART_MSR_DCD,
.signal_pin_change = UART_MSR_DDCD,
.on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
Expand All @@ -145,6 +146,7 @@ static struct lirc_serial hardware[] = {
},

[LIRC_IRDEO] = {
.lock = __SPIN_LOCK_UNLOCKED(hardware[LIRC_IRDEO].lock),
.signal_pin = UART_MSR_DSR,
.signal_pin_change = UART_MSR_DDSR,
.on = UART_MCR_OUT2,
Expand All @@ -156,6 +158,7 @@ static struct lirc_serial hardware[] = {
},

[LIRC_IRDEO_REMOTE] = {
.lock = __SPIN_LOCK_UNLOCKED(hardware[LIRC_IRDEO_REMOTE].lock),
.signal_pin = UART_MSR_DSR,
.signal_pin_change = UART_MSR_DDSR,
.on = (UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2),
Expand All @@ -167,6 +170,7 @@ static struct lirc_serial hardware[] = {
},

[LIRC_ANIMAX] = {
.lock = __SPIN_LOCK_UNLOCKED(hardware[LIRC_ANIMAX].lock),
.signal_pin = UART_MSR_DCD,
.signal_pin_change = UART_MSR_DDCD,
.on = 0,
Expand All @@ -177,6 +181,7 @@ static struct lirc_serial hardware[] = {
},

[LIRC_IGOR] = {
.lock = __SPIN_LOCK_UNLOCKED(hardware[LIRC_IGOR].lock),
.signal_pin = UART_MSR_DSR,
.signal_pin_change = UART_MSR_DDSR,
.on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
Expand All @@ -201,6 +206,7 @@ static struct lirc_serial hardware[] = {
* See also http://www.nslu2-linux.org for this device
*/
[LIRC_NSLU2] = {
.lock = __SPIN_LOCK_UNLOCKED(hardware[LIRC_NSLU2].lock),
.signal_pin = UART_MSR_CTS,
.signal_pin_change = UART_MSR_DCTS,
.on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
Expand Down

0 comments on commit 17d4b66

Please sign in to comment.