]> git.pld-linux.org Git - packages/acx.git/commitdiff
- based on https://dev.openwrt.org/browser/trunk/package/acx/patches/003-2.6.24-compa...
authorzbyniu <zbyniu@pld-linux.org>
Sun, 2 Mar 2008 20:19:03 +0000 (20:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    acx-2.6.24.patch -> 1.1

acx-2.6.24.patch [new file with mode: 0644]

diff --git a/acx-2.6.24.patch b/acx-2.6.24.patch
new file mode 100644 (file)
index 0000000..ffdfc06
--- /dev/null
@@ -0,0 +1,33 @@
+diff -u acx-20080112/pci.c acx-20080112.new/pci.c
+--- acx-20080112/pci.c 2008-02-08 19:20:41.000000000 +0000
++++ acx-20080112.new/pci.c     2008-02-08 19:05:46.000000000 +0000
+@@ -1632,7 +1632,7 @@
+       acx_show_card_eeprom_id(adev);
+ #endif /* NONESSENTIAL_FEATURES */
+-#ifdef SET_MODULE_OWNER
++#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) && defined(SET_MODULE_OWNER)
+       SET_MODULE_OWNER(ndev);
+ #endif
+       SET_NETDEV_DEV(ndev, &pdev->dev);
+@@ -2128,7 +2128,7 @@
+ /* TODO: pci_set_power_state(pdev, PCI_D0); ? */
+       /* request shared IRQ handler */
+-      if (request_irq(ndev->irq, acxpci_i_interrupt, SA_SHIRQ, ndev->name, ndev)) {
++      if (request_irq(ndev->irq, acxpci_i_interrupt, IRQF_SHARED, ndev->name, ndev)) {
+               printk("%s: request_irq FAILED\n", ndev->name);
+               result = -EAGAIN;
+               goto done;
+diff -u acx-20080112/usb.c acx-20080112.new/usb.c
+--- acx-20080112/usb.c 2008-01-12 12:27:38.000000000 +0000
++++ acx-20080112.new/usb.c     2008-02-08 19:01:34.000000000 +0000
+@@ -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 */
This page took 0.042587 seconds and 4 git commands to generate.