diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-06 12:48:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-06 12:48:31 -0400 |
commit | c87985a3ce723995fc7b25e598238d67154108a1 (patch) | |
tree | e60def1b77c25c1d74180f62e8a5603f9826f209 /drivers/net/irda | |
parent | d155255a344c417acad74156654295a2964e6b81 (diff) | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) |
Merge tty-next into 3.6-rc1
This handles the merge issue in:
arch/um/drivers/line.c
arch/um/drivers/line.h
And resolves the duplicate patches that were in both trees do to the
tty-next branch not getting merged into 3.6-rc1.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/irda')
-rw-r--r-- | drivers/net/irda/ali-ircc.c | 6 | ||||
-rw-r--r-- | drivers/net/irda/au1k_ir.c | 2 | ||||
-rw-r--r-- | drivers/net/irda/pxaficp_ir.c | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/irda/ali-ircc.c b/drivers/net/irda/ali-ircc.c index dcc80d652b78..84872043b5c6 100644 --- a/drivers/net/irda/ali-ircc.c +++ b/drivers/net/irda/ali-ircc.c | |||
@@ -1017,7 +1017,7 @@ static void ali_ircc_fir_change_speed(struct ali_ircc_cb *priv, __u32 baud) | |||
1017 | { | 1017 | { |
1018 | 1018 | ||
1019 | int iobase; | 1019 | int iobase; |
1020 | struct ali_ircc_cb *self = (struct ali_ircc_cb *) priv; | 1020 | struct ali_ircc_cb *self = priv; |
1021 | struct net_device *dev; | 1021 | struct net_device *dev; |
1022 | 1022 | ||
1023 | IRDA_DEBUG(1, "%s(), ---------------- Start ----------------\n", __func__ ); | 1023 | IRDA_DEBUG(1, "%s(), ---------------- Start ----------------\n", __func__ ); |
@@ -1052,7 +1052,7 @@ static void ali_ircc_fir_change_speed(struct ali_ircc_cb *priv, __u32 baud) | |||
1052 | */ | 1052 | */ |
1053 | static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed) | 1053 | static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed) |
1054 | { | 1054 | { |
1055 | struct ali_ircc_cb *self = (struct ali_ircc_cb *) priv; | 1055 | struct ali_ircc_cb *self = priv; |
1056 | unsigned long flags; | 1056 | unsigned long flags; |
1057 | int iobase; | 1057 | int iobase; |
1058 | int fcr; /* FIFO control reg */ | 1058 | int fcr; /* FIFO control reg */ |
@@ -1121,7 +1121,7 @@ static void ali_ircc_sir_change_speed(struct ali_ircc_cb *priv, __u32 speed) | |||
1121 | static void ali_ircc_change_dongle_speed(struct ali_ircc_cb *priv, int speed) | 1121 | static void ali_ircc_change_dongle_speed(struct ali_ircc_cb *priv, int speed) |
1122 | { | 1122 | { |
1123 | 1123 | ||
1124 | struct ali_ircc_cb *self = (struct ali_ircc_cb *) priv; | 1124 | struct ali_ircc_cb *self = priv; |
1125 | int iobase,dongle_id; | 1125 | int iobase,dongle_id; |
1126 | int tmp = 0; | 1126 | int tmp = 0; |
1127 | 1127 | ||
diff --git a/drivers/net/irda/au1k_ir.c b/drivers/net/irda/au1k_ir.c index fc503aa5288e..e09417df8f39 100644 --- a/drivers/net/irda/au1k_ir.c +++ b/drivers/net/irda/au1k_ir.c | |||
@@ -794,7 +794,7 @@ static int __devinit au1k_irda_net_init(struct net_device *dev) | |||
794 | 794 | ||
795 | /* allocate the data buffers */ | 795 | /* allocate the data buffers */ |
796 | aup->db[0].vaddr = | 796 | aup->db[0].vaddr = |
797 | (void *)dma_alloc(MAX_BUF_SIZE * 2 * NUM_IR_DESC, &temp); | 797 | dma_alloc(MAX_BUF_SIZE * 2 * NUM_IR_DESC, &temp); |
798 | if (!aup->db[0].vaddr) | 798 | if (!aup->db[0].vaddr) |
799 | goto out3; | 799 | goto out3; |
800 | 800 | ||
diff --git a/drivers/net/irda/pxaficp_ir.c b/drivers/net/irda/pxaficp_ir.c index ff16daf33ae1..8d5476707912 100644 --- a/drivers/net/irda/pxaficp_ir.c +++ b/drivers/net/irda/pxaficp_ir.c | |||
@@ -289,7 +289,7 @@ static irqreturn_t pxa_irda_sir_irq(int irq, void *dev_id) | |||
289 | } | 289 | } |
290 | lsr = STLSR; | 290 | lsr = STLSR; |
291 | } | 291 | } |
292 | si->last_oscr = OSCR; | 292 | si->last_oscr = readl_relaxed(OSCR); |
293 | break; | 293 | break; |
294 | 294 | ||
295 | case 0x04: /* Received Data Available */ | 295 | case 0x04: /* Received Data Available */ |
@@ -300,7 +300,7 @@ static irqreturn_t pxa_irda_sir_irq(int irq, void *dev_id) | |||
300 | dev->stats.rx_bytes++; | 300 | dev->stats.rx_bytes++; |
301 | async_unwrap_char(dev, &dev->stats, &si->rx_buff, STRBR); | 301 | async_unwrap_char(dev, &dev->stats, &si->rx_buff, STRBR); |
302 | } while (STLSR & LSR_DR); | 302 | } while (STLSR & LSR_DR); |
303 | si->last_oscr = OSCR; | 303 | si->last_oscr = readl_relaxed(OSCR); |
304 | break; | 304 | break; |
305 | 305 | ||
306 | case 0x02: /* Transmit FIFO Data Request */ | 306 | case 0x02: /* Transmit FIFO Data Request */ |
@@ -316,7 +316,7 @@ static irqreturn_t pxa_irda_sir_irq(int irq, void *dev_id) | |||
316 | /* We need to ensure that the transmitter has finished. */ | 316 | /* We need to ensure that the transmitter has finished. */ |
317 | while ((STLSR & LSR_TEMT) == 0) | 317 | while ((STLSR & LSR_TEMT) == 0) |
318 | cpu_relax(); | 318 | cpu_relax(); |
319 | si->last_oscr = OSCR; | 319 | si->last_oscr = readl_relaxed(OSCR); |
320 | 320 | ||
321 | /* | 321 | /* |
322 | * Ok, we've finished transmitting. Now enable | 322 | * Ok, we've finished transmitting. Now enable |
@@ -370,7 +370,7 @@ static void pxa_irda_fir_dma_tx_irq(int channel, void *data) | |||
370 | 370 | ||
371 | while (ICSR1 & ICSR1_TBY) | 371 | while (ICSR1 & ICSR1_TBY) |
372 | cpu_relax(); | 372 | cpu_relax(); |
373 | si->last_oscr = OSCR; | 373 | si->last_oscr = readl_relaxed(OSCR); |
374 | 374 | ||
375 | /* | 375 | /* |
376 | * HACK: It looks like the TBY bit is dropped too soon. | 376 | * HACK: It looks like the TBY bit is dropped too soon. |
@@ -470,7 +470,7 @@ static irqreturn_t pxa_irda_fir_irq(int irq, void *dev_id) | |||
470 | 470 | ||
471 | /* stop RX DMA */ | 471 | /* stop RX DMA */ |
472 | DCSR(si->rxdma) &= ~DCSR_RUN; | 472 | DCSR(si->rxdma) &= ~DCSR_RUN; |
473 | si->last_oscr = OSCR; | 473 | si->last_oscr = readl_relaxed(OSCR); |
474 | icsr0 = ICSR0; | 474 | icsr0 = ICSR0; |
475 | 475 | ||
476 | if (icsr0 & (ICSR0_FRE | ICSR0_RAB)) { | 476 | if (icsr0 & (ICSR0_FRE | ICSR0_RAB)) { |
@@ -546,7 +546,7 @@ static int pxa_irda_hard_xmit(struct sk_buff *skb, struct net_device *dev) | |||
546 | skb_copy_from_linear_data(skb, si->dma_tx_buff, skb->len); | 546 | skb_copy_from_linear_data(skb, si->dma_tx_buff, skb->len); |
547 | 547 | ||
548 | if (mtt) | 548 | if (mtt) |
549 | while ((unsigned)(OSCR - si->last_oscr)/4 < mtt) | 549 | while ((unsigned)(readl_relaxed(OSCR) - si->last_oscr)/4 < mtt) |
550 | cpu_relax(); | 550 | cpu_relax(); |
551 | 551 | ||
552 | /* stop RX DMA, disable FICP */ | 552 | /* stop RX DMA, disable FICP */ |