2008-10-17 14:50:27

by Pieter Steyn

[permalink] [raw]
Subject: r6080 driver not working.

Hi,

I cannot get the r6080 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.


2008-10-17 18:46:57

by Pieter Steyn

[permalink] [raw]
Subject: Re: r6080 driver not working.

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

Cheers,
Pieter Steyn

On Fri, Oct 17, 2008 at 4:50 PM, Pieter Steyn <[email protected]> wrote:
> Hi,
>
> I cannot get the r6080 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.
>

2008-10-17 23:32:32

by Florian Fainelli

[permalink] [raw]
Subject: Re: r6080 driver not working.

Hi Pieter,

Le Friday 17 October 2008 20:46:46 Pieter Steyn, vous avez ?crit?:
> Ugh, sorry. I obviously meant the r6040 driver. :)

I will debug this ASAP. Please CC netdev instead of linux-kernel as the
MAINTAINERS file indicates for this driver.
--
Cordialement, Florian Fainelli
------------------------------


Attachments:
(No filename) (317.00 B)
signature.asc (197.00 B)
This is a digitally signed message part.
Download all attachments