RE: 6040 Driver not working

From: Pieter Steyn <hidden>
Date: 2008-10-20 06:33:50

Hi guys,

Forwarding this to netdev as per Florian's request.

Kind regards,

Pieter Steyn

Forwarded conversation
Subject: r6040 driver not working.
------------------------

From: Pieter Steyn <redacted>
Date: Fri, Oct 17, 2008 at 4:50 PM
To: "linux-kernel@vger.kernel.org" <redacted>
Cc: tech@dmp.com.tw


Hi,

I cannot get the r6040 driver working properly in either 2.6.26 or
2.6.27.  It compiles, and loads fine enough, but as soon as I try and
bring up the device I get a 'resource is in use and busy' message.

I've tried using both the driver supplied by the kernel and the one
linked on their website (with some modifications to make it compile :

r6040# diff r6040.c r6040.orig
277a278
      SET_MODULE_OWNER(dev);
380c381
<       i = request_irq(dev->irq, &r6040_interrupt, IRQF_SHARED,
dev->name, dev);
---
      i = request_irq(dev->irq, &r6040_interrupt, SA_SHIRQ, dev->name, dev);
1079c1080
<       return pci_register_driver (&r6040_driver);
---
      return pci_module_init (&r6040_driver);
Networking works with 2.6.21 using the driver from their website and
the above patch.

I've cc'ed in tech support to the manufacturer.

Thanks, and sorry if the information isn't much to work with...but
since I don't get any errors other than device being busy I'm not sure
what to do from here.

----------
From: Pieter Steyn <redacted>
Date: Fri, Oct 17, 2008 at 8:46 PM
To: "linux-kernel@vger.kernel.org" <redacted>
Cc: tech@dmp.com.tw


Ugh, sorry.  I obviously meant the r6040 driver. :)

Cheers,
Pieter Steyn

----------
From: Florian Fainelli <redacted>
Date: Sat, Oct 18, 2008 at 1:32 AM
To: Pieter Steyn <redacted>
Cc: "linux-kernel@vger.kernel.org" <redacted>,
tech@dmp.com.tw


Hi Pieter,

Le Friday 17 October 2008 20:46:46 Pieter Steyn, vous avez écrit :
I will debug this ASAP. Please CC netdev instead of linux-kernel as the
MAINTAINERS file indicates for this driver.
--
Cordialement, Florian Fainelli
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help