diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-07 12:50:15 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-10-07 12:50:15 +0000 |
commit | 6babc9b91ab6cdd9305b270f269b8622c527a88e (patch) | |
tree | b1bd865ddc103600da0e66dbdaf6233a0ae3dd96 /package/madwifi/patches/431-compile_fixes.patch | |
parent | a81aed2f57aef263f83f31c8d405d086776f7415 (diff) |
move a few unmaintained packages from trunk to /packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33634 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/madwifi/patches/431-compile_fixes.patch')
-rw-r--r-- | package/madwifi/patches/431-compile_fixes.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/package/madwifi/patches/431-compile_fixes.patch b/package/madwifi/patches/431-compile_fixes.patch deleted file mode 100644 index b11d406a0..000000000 --- a/package/madwifi/patches/431-compile_fixes.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- a/ath/if_ath.c -+++ b/ath/if_ath.c -@@ -2388,7 +2388,9 @@ ath_intr(int irq, void *dev_id, struct p - if (status & (HAL_INT_RX | HAL_INT_RXPHY)) { - ath_uapsd_processtriggers(sc, hw_tsf); - sc->sc_isr &= ~HAL_INT_RX; --#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29) -+ if (napi_schedule_prep(&sc->sc_napi)) -+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) - if (netif_rx_schedule_prep(dev, &sc->sc_napi)) - #else - if (netif_rx_schedule_prep(dev)) -@@ -2396,7 +2398,9 @@ ath_intr(int irq, void *dev_id, struct p - { - sc->sc_imask &= ~HAL_INT_RX; - ath_hal_intrset(ah, sc->sc_imask); --#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29) -+ __napi_schedule(&sc->sc_napi); -+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) - __netif_rx_schedule(dev, &sc->sc_napi); - #else - __netif_rx_schedule(dev); -@@ -7135,7 +7139,9 @@ rx_next: - local_irq_restore(flags); - } - --#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) -+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29) -+ napi_complete(napi); -+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24) - netif_rx_complete(dev, napi); - #else - netif_rx_complete(dev); |