[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070603231050.GA3829@sortiz.org>
Date: Mon, 4 Jun 2007 02:10:51 +0300
From: Samuel Ortiz <samuel@...tiz.org>
To: Andrey Borzenkov <arvidjaar@...l.ru>
Cc: linux-kernel@...r.kernel.org,
Michal Piotrowski <michal.k.k.piotrowski@...il.com>,
ambx1@....rr.com, bjorn.helgaas@...com
Subject: Re: 2.6.22-rc: regression: no irda0 interface (2.6.21 was OK), smsc does not find chip
Hi Andrey,
On Sun, Jun 03, 2007 at 12:16:05PM +0400, Andrey Borzenkov wrote:
>
> Adding "nopnp" parameters finds device just fine so it is apparently result of
> this commit:
>
> commit d0d4f69bb65a8c1c1430c577a583632709b874c6
> Author: Bjorn Helgaas <bjorn.helgaas@...com>
> Date: Tue May 8 00:36:05 2007 -0700
>
> smsc-ircc2: add PNP support
>
> What information is needed to debug it further?
It seems that PnP tells us that the FIR port is at 0x2e8 while we're
expecting it at 0x2f8.
Could you apply this patch and then send me a dmesg dump of the
smsc-ircc initialisation ?
Cheers,
Samuel.
diff --git a/drivers/net/irda/smsc-ircc2.c b/drivers/net/irda/smsc-ircc2.c
index 9043bf4..d1d46a6 100644
--- a/drivers/net/irda/smsc-ircc2.c
+++ b/drivers/net/irda/smsc-ircc2.c
@@ -391,6 +391,9 @@ static int __init smsc_ircc_pnp_probe(struct pnp_dev *dev,
dma = pnp_dma(dev, 0);
irq = pnp_irq(dev, 0);
+ printk("%s(): fir 0x%x sir 0x%x dma %d irq %d\n",
+ __FUNCTION__, firbase, sirbase, dma, irq);
+
if (smsc_ircc_open(firbase, sirbase, dma, irq))
return -ENODEV;
@@ -655,6 +658,7 @@ static int smsc_ircc_present(unsigned int fir_base, unsigned int sir_base)
irq = (config & IRCC_INTERFACE_IRQ_MASK) >> 4;
if (high != 0x10 || low != 0xb8 || (chip != 0xf1 && chip != 0xf2)) {
+ printk("High: 0x%x, Chip 0x%x\n", high, chip);
IRDA_WARNING("%s(), addr 0x%04x - no device found!\n",
__FUNCTION__, fir_base);
goto out3;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists