Re: D-Link Air Plus Extreme DWL-G650 A1 Freezes with ifconfig up
Jordan Wilberding <[email protected]> Sun, 06 Feb 2005 01:49:40 -0600
| Newsgroups | gmane.linux.drivers.prism54.user |
|---|---|
| Message-ID | <[email protected]> |
Now I get the following error in dmesg: Loaded prism54 driver, version 1.2 eth1: could not install IRQ handler prism54: probe of 0000:02:00.0 failed with error -5 Which is confusing since the card shows up with lspci: bash-2.05b$ /sbin/lspci 0000:00:00.0 Host bridge: ATI Technologies Inc AGP Bridge [IGP 320M] (rev 13) 0000:00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 320M] (rev 01) 0000:00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03) 0000:00:06.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link Controller Audio Device (rev 02) 0000:00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] 0000:00:08.0 Modem: ALi Corporation M5457 AC'97 Modem Controller 0000:00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller 0000:00:10.0 IDE interface: ALi Corporation M5229 IDE (rev c4) 0000:00:11.0 Bridge: ALi Corporation M7101 PMU 0000:00:12.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller 0000:01:05.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility U1 0000:02:00.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01) Thanks! Jordan Wilberding Jaap wrote: >Jordan Wilberding ([email protected]) wrote: > > > >>I tried 2.6.10, and it did the same thing. >> >>I also tried the latest version using svn, and I get the following >>compile error: >>/root/prism54/ksrc/islpci_hotplug.c: In function `prism54_suspend': >>/root/prism54/ksrc/islpci_hotplug.c:280: error: too many arguments to >>function `pci_save_state' >>/root/prism54/ksrc/islpci_hotplug.c: In function `prism54_resume': >>/root/prism54/ksrc/islpci_hotplug.c:306: error: too many arguments to >>function `pci_restore_state' >>make[3]: *** [/root/prism54/ksrc/islpci_hotplug.o] Error 1 >>make[2]: *** [_module_/root/prism54/ksrc] Error 2 >>make[2]: Leaving directory `/usr/src/linux-2.6.10-r1' >>make[1]: *** [modules] Error 2 >>make[1]: Leaving directory `/root/prism54/ksrc' >>make: *** [modules-all] Error 2 >> >> >>Thanks! >>Jordan Wilberding >> >> >> >They are not so fast in this cvs lately... this patch was on the devel >list weeks ago. Patch your prism54 driver with this: > > >--- islpci_hotplug.c.orig 2005-01-04 14:46:14.000000000 +0100 >+++ islpci_hotplug.c 2005-01-04 14:48:40.000000000 +0100 >@@ -277,7 +277,7 @@ > printk(KERN_NOTICE "%s: got suspend request (state %d)\n", > ndev->name, state); > >- pci_save_state(pdev, priv->pci_state); >+ pci_save_state(pdev); > > /* tell the device not to trigger interrupts for now... */ > isl38xx_disable_interrupts(priv->device_base); >@@ -303,7 +303,7 @@ > > printk(KERN_NOTICE "%s: got resume request\n", ndev->name); > >- pci_restore_state(pdev, priv->pci_state); >+ pci_restore_state(pdev); > > /* alright let's go into the PREBOOT state */ > islpci_reset(priv, 1); >--- islpci_mgt.c.orig 2005-01-04 14:51:26.000000000 +0100 >+++ islpci_mgt.c 2005-01-04 15:10:38.000000000 +0100 >@@ -344,7 +344,7 @@ > } > > /* Ensure the results of device DMA are visible to the CPU. */ >- pci_dma_sync_single(priv->pdev, buf->pci_addr, >+ pci_dma_sync_single_for_cpu(priv->pdev, buf->pci_addr, > buf->skb->len, PCI_DMA_FROMDEVICE); > > /* Perform endianess conversion for PIMFOR header in-place. */ > >