|
@@ -2021,8 +2021,6 @@ static int __init rs_init(void)
|
|
state->baud_base = amiga_colorclock;
|
|
state->baud_base = amiga_colorclock;
|
|
state->xmit_fifo_size = 1;
|
|
state->xmit_fifo_size = 1;
|
|
|
|
|
|
- local_irq_save(flags);
|
|
|
|
-
|
|
|
|
/* set ISRs, and then disable the rx interrupts */
|
|
/* set ISRs, and then disable the rx interrupts */
|
|
error = request_irq(IRQ_AMIGA_TBE, ser_tx_int, 0, "serial TX", state);
|
|
error = request_irq(IRQ_AMIGA_TBE, ser_tx_int, 0, "serial TX", state);
|
|
if (error)
|
|
if (error)
|
|
@@ -2033,6 +2031,8 @@ static int __init rs_init(void)
|
|
if (error)
|
|
if (error)
|
|
goto fail_free_irq;
|
|
goto fail_free_irq;
|
|
|
|
|
|
|
|
+ local_irq_save(flags);
|
|
|
|
+
|
|
/* turn off Rx and Tx interrupts */
|
|
/* turn off Rx and Tx interrupts */
|
|
custom.intena = IF_RBF | IF_TBE;
|
|
custom.intena = IF_RBF | IF_TBE;
|
|
mb();
|
|
mb();
|