diff options
Diffstat (limited to 'drivers/ipack/devices')
-rw-r--r-- | drivers/ipack/devices/ipoctal.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/drivers/ipack/devices/ipoctal.c b/drivers/ipack/devices/ipoctal.c index 69687f156999..e41bef048c23 100644 --- a/drivers/ipack/devices/ipoctal.c +++ b/drivers/ipack/devices/ipoctal.c | |||
@@ -323,13 +323,6 @@ static int ipoctal_inst_slot(struct ipoctal *ipoctal, unsigned int bus_nr, | |||
323 | &block_regs[i].w.imr); | 323 | &block_regs[i].w.imr); |
324 | } | 324 | } |
325 | 325 | ||
326 | /* | ||
327 | * IP-OCTAL has different addresses to copy its IRQ vector. | ||
328 | * Depending of the carrier these addresses are accesible or not. | ||
329 | * More info in the datasheet. | ||
330 | */ | ||
331 | ipoctal->dev->bus->ops->request_irq(ipoctal->dev, | ||
332 | ipoctal_irq_handler, ipoctal); | ||
333 | /* Dummy write */ | 326 | /* Dummy write */ |
334 | iowrite8(1, ipoctal->mem8_space + 1); | 327 | iowrite8(1, ipoctal->mem8_space + 1); |
335 | 328 | ||
@@ -390,6 +383,14 @@ static int ipoctal_inst_slot(struct ipoctal *ipoctal, unsigned int bus_nr, | |||
390 | dev_set_drvdata(tty_dev, channel); | 383 | dev_set_drvdata(tty_dev, channel); |
391 | } | 384 | } |
392 | 385 | ||
386 | /* | ||
387 | * IP-OCTAL has different addresses to copy its IRQ vector. | ||
388 | * Depending of the carrier these addresses are accesible or not. | ||
389 | * More info in the datasheet. | ||
390 | */ | ||
391 | ipoctal->dev->bus->ops->request_irq(ipoctal->dev, | ||
392 | ipoctal_irq_handler, ipoctal); | ||
393 | |||
393 | return 0; | 394 | return 0; |
394 | } | 395 | } |
395 | 396 | ||