[Prism54-devel] problems with iwlist scan

frank-prism54@mattzz.dyndns.org frank-prism54@mattzz.dyndns.org
Fri, 19 Dec 2003 17:44:33 +0100


On Fri, Dec 19, 2003 at 10:54:53AM -0500, Luis R. Rodriguez wrote:
> 
> > But I still do not see a message like
> >
> >  prism54_mib_init()
> 
> That in essence is the problem.
> 
> ifconfig eth1 down && dmesg -c
> rmmod prism54 && dmesg -c
> modprobe prism54 && dmesg -c
> ifconfig eth1 up && dmesg -c
> iwlist eth1 scanning && dmesg -c
> 
> See if you see it when following those steps
> 
> 	Luis
> 
Luis,

I saw now a message:
 hotplug reports a wrong irq. Working around

and I found a new part in the code which reassigns the irq under
certain conditions. I commented this out and it works again.

fantasio:~/prism54-ng/ksrc$ cvs diff -u islpci_hotplug.c
Index: islpci_hotplug.c
===================================================================
RCS file: /var/lib/cvs/prism54-ng/ksrc/islpci_hotplug.c,v
retrieving revision 1.44
diff -u -r1.44 islpci_hotplug.c
--- islpci_hotplug.c    16 Dec 2003 20:16:49 -0000      1.44
+++ islpci_hotplug.c    19 Dec 2003 16:40:40 -0000
@@ -142,12 +142,12 @@
        }
 
        /* The irq reported by the hotplug system is sometimes wrong */
-       pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &irq);
-       if (pdev->irq != irq){
-               printk(KERN_ERR "%s: hotplug reports a wrong irq. Working around !\n",
-                              DRV_NAME);
-               pdev->irq = irq;
-       }
+       //      pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &irq);
+       //if (pdev->irq != irq){
+       //      printk(KERN_ERR "%s: hotplug reports a wrong irq. Working around !\n",
+       //                     DRV_NAME);
+       //      pdev->irq = irq;
+       //}

If you want to know what is strange in my system, please ask some
detailed questions. I do not know much about ACPI and such.

best regards
  Frank