diff options
| -rw-r--r-- | drivers/ipack/devices/ipoctal.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index f2875f0f14d4..09e3a8e63e22 100644 --- a/drivers/ipack/devices/ipoctal.c +++ b/drivers/ipack/devices/ipoctal.c | |||
| @@ -60,6 +60,10 @@ static int ipoctal_port_activate(struct tty_port *port, struct tty_struct *tty) | |||
| 60 | 60 | ||
| 61 | channel = dev_get_drvdata(tty->dev); | 61 | channel = dev_get_drvdata(tty->dev); |
| 62 | 62 | ||
| 63 | /* | ||
| 64 | * Enable RX. TX will be enabled when | ||
| 65 | * there is something to send | ||
| 66 | */ | ||
| 63 | iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); | 67 | iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); |
| 64 | return 0; | 68 | return 0; |
| 65 | } | 69 | } |
| @@ -385,12 +389,6 @@ static int ipoctal_inst_slot(struct ipoctal *ipoctal, unsigned int bus_nr, | |||
| 385 | continue; | 389 | continue; |
| 386 | } | 390 | } |
| 387 | dev_set_drvdata(tty_dev, channel); | 391 | dev_set_drvdata(tty_dev, channel); |
| 388 | |||
| 389 | /* | ||
| 390 | * Enable again the RX. TX will be enabled when | ||
| 391 | * there is something to send | ||
| 392 | */ | ||
| 393 | iowrite8(CR_ENABLE_RX, &channel->regs->w.cr); | ||
| 394 | } | 392 | } |
| 395 | 393 | ||
| 396 | return 0; | 394 | return 0; |
