]> git.pld-linux.org Git - packages/acx.git/blob - acx-2.6.24.patch
- rel 4; with 2.6.30 patch
[packages/acx.git] / acx-2.6.24.patch
1 diff -u acx-20080112/pci.c acx-20080112.new/pci.c
2 --- acx-20080112/pci.c  2008-02-08 19:20:41.000000000 +0000
3 +++ acx-20080112.new/pci.c      2008-02-08 19:05:46.000000000 +0000
4 @@ -1632,7 +1632,7 @@
5         acx_show_card_eeprom_id(adev);
6  #endif /* NONESSENTIAL_FEATURES */
7  
8 -#ifdef SET_MODULE_OWNER
9 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) && defined(SET_MODULE_OWNER)
10         SET_MODULE_OWNER(ndev);
11  #endif
12         SET_NETDEV_DEV(ndev, &pdev->dev);
13 @@ -2128,7 +2128,7 @@
14  /* TODO: pci_set_power_state(pdev, PCI_D0); ? */
15  
16         /* request shared IRQ handler */
17 -       if (request_irq(ndev->irq, acxpci_i_interrupt, SA_SHIRQ, ndev->name, ndev)) {
18 +       if (request_irq(ndev->irq, acxpci_i_interrupt, IRQF_SHARED, ndev->name, ndev)) {
19                 printk("%s: request_irq FAILED\n", ndev->name);
20                 result = -EAGAIN;
21                 goto done;
22 diff -u acx-20080112/usb.c acx-20080112.new/usb.c
23 --- acx-20080112/usb.c  2008-01-12 12:27:38.000000000 +0000
24 +++ acx-20080112.new/usb.c      2008-02-08 19:01:34.000000000 +0000
25 @@ -859,7 +859,9 @@
26         ndev->watchdog_timeo = 4 * HZ;
27  #endif
28         ndev->change_mtu = &acx_e_change_mtu;
29 +#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
30         SET_MODULE_OWNER(ndev);
31 +#endif
32  
33         /* Setup private driver context */
This page took 0.092238 seconds and 3 git commands to generate.