summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Bennett <spb@gentoo.org>2008-02-07 20:58:42 +0000
committerStephen Bennett <spb@gentoo.org>2008-02-07 20:58:42 +0000
commitf7428dbe034c2482f79677da469b7571e2a87efa (patch)
tree77b4dd3a08f0a8942330b7f543247f8abfd9b0d8 /net-wireless/acx/files
parentChanged dependency on virtual/ghostscript to app-text/ghostscript-gpl. Fixes ... (diff)
downloadgentoo-2-f7428dbe034c2482f79677da469b7571e2a87efa.tar.gz
gentoo-2-f7428dbe034c2482f79677da469b7571e2a87efa.tar.bz2
gentoo-2-f7428dbe034c2482f79677da469b7571e2a87efa.zip
Version bump, thanks to Geoffrey Clements in bug #196664
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-wireless/acx/files')
-rw-r--r--net-wireless/acx/files/acx-0.3.37_p20080112.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/net-wireless/acx/files/acx-0.3.37_p20080112.patch b/net-wireless/acx/files/acx-0.3.37_p20080112.patch
new file mode 100644
index 000000000000..ecfbd3c8a9e4
--- /dev/null
+++ b/net-wireless/acx/files/acx-0.3.37_p20080112.patch
@@ -0,0 +1,38 @@
+--- acx-20080112/pci.c.orig
++++ acx-20080112/pci.c
+@@ -1632,8 +1632,10 @@
+ acx_show_card_eeprom_id(adev);
+ #endif /* NONESSENTIAL_FEATURES */
+
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
+ #ifdef SET_MODULE_OWNER
+- SET_MODULE_OWNER(ndev);
++ SET_MODULE_OWNER(ndev);
++#endif
+ #endif
+ SET_NETDEV_DEV(ndev, &pdev->dev);
+
+@@ -2128,7 +2130,11 @@
+ /* TODO: pci_set_power_state(pdev, PCI_D0); ? */
+
+ /* request shared IRQ handler */
++ #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21))
++ if (request_irq(ndev->irq, acxpci_i_interrupt, IRQF_SHARED, ndev->name, ndev)) {
++ #else
+ if (request_irq(ndev->irq, acxpci_i_interrupt, SA_SHIRQ, ndev->name, ndev)) {
++ #endif
+ printk("%s: request_irq FAILED\n", ndev->name);
+ result = -EAGAIN;
+ goto done;
+--- acx-20080112/usb.c.orig
++++ acx-20080112/usb.c
+@@ -859,7 +859,9 @@
+ ndev->watchdog_timeo = 4 * HZ;
+ #endif
+ ndev->change_mtu = &acx_e_change_mtu;
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
+ SET_MODULE_OWNER(ndev);
++#endif
+
+ /* Setup private driver context */
+