updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / tiacx-zen-svn / acx100_new_kernels.patch
blob80df3dd57e8e4dca6bf5baae76badbfa900b6dfb
1 --- acx-20070101/pci.c.orig 2007-07-24 03:57:41.000000000 -0700
2 +++ acx-20070101/pci.c 2007-07-24 03:59:20.000000000 -0700
3 @@ -2104,7 +2104,11 @@
4 /* TODO: pci_set_power_state(pdev, PCI_D0); ? */
6 /* request shared IRQ handler */
7 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21)
8 + if (request_irq(ndev->irq, acxpci_i_interrupt, IRQF_SHARED, ndev->name, ndev)) {
9 +#else
10 if (request_irq(ndev->irq, acxpci_i_interrupt, SA_SHIRQ, ndev->name, ndev)) {
11 +#endif
12 printk("%s: request_irq FAILED\n", ndev->name);
13 result = -EAGAIN;
14 goto done;