On Sat, Feb 13, 2010 at 9:10 PM, Pavel Roskin <proski@xxxxxxx> wrote: > On Fri, 2010-02-12 at 18:10 -0800, Luis R. Rodriguez wrote: >> The bleeding edge compat-wireless updates were stuck due to a >> bluetooth hunk failing on net/bluetooth/hidp/core.c, that should be >> fixed now, at least it compiles for me down to 2.6.27. I also hadn't >> updated a 2.6.33-rcx releases in a while, as well as 2.6.32.y release. >> This should all now be in synch with upstream. I never got reports >> about MQ support on older kernels so I just threw in the code, issues >> can be dealt with once actually found. > > I've tried compiling all three tarballs against Linux 2.6.26.8. It's a > kernel with some hardware patches for arm architecture that are hard to > port to newer kernels, so compat-wireless would be very helpful. > > compat-wireless-2.6.32.8 compiles just fine with ath5k selected. > > compat-wireless-2.6.33-rc8 fails: > > /home/proski/src/compat-wireless-2.6.33-rc8/net/mac80211/util.c: In > function '__ieee80211_wake_queue': > /home/proski/src/compat-wireless-2.6.33-rc8/net/mac80211/util.c:290: > error: implicit declaration of function 'netif_tx_wake_queue' > /home/proski/src/compat-wireless-2.6.33-rc8/net/mac80211/util.c:290: > error: implicit declaration of function 'netdev_get_tx_queue' > /home/proski/src/compat-wireless-2.6.33-rc8/net/mac80211/util.c: In > function '__ieee80211_stop_queue': > /home/proski/src/compat-wireless-2.6.33-rc8/net/mac80211/util.c:325: > error: implicit declaration of function 'netif_tx_stop_queue' > > compat-wireless-2010-02-13 fails differently: > > /home/proski/src/compat-wireless-2010-02-13/net/mac80211/iface.c: In > function 'ieee80211_if_setup': > /home/proski/src/compat-wireless-2010-02-13/net/mac80211/iface.c:738: > error: 'struct net_device' has no member named 'select_queue' > /home/proski/src/compat-wireless-2010-02-13/net/mac80211/iface.c: In > function 'ieee80211_setup_sdata': > /home/proski/src/compat-wireless-2010-02-13/net/mac80211/iface.c:790: > error: 'struct net_device' has no member named 'select_queue' > > I tried enabling CONFIG_NETDEVICES_MULTIQUEUE, but it made no > difference. > > It looks like compat-wireless-2.6.33-rc8 and compat-wireless-2010-02-13 > don't have the patches to deal with the lack of netif_tx_wake_queue and > select_queue in Linux 2.6.26. compat-wireless-2.6.32.8 has such > patches. Oh right, so I was hoping to get some reports on results of MQ backport on 2.6.32.y, I guess its OK enough to merge now and if its borked we can remove older kernel support or something. > If all drivers are selected, compat-wireless-2.6.32.8 fails: > > In file included > from /home/proski/src/compat-wireless-2.6.32.8/drivers/net/b44.c:28: > /home/proski/src/compat-wireless-2.6.32.8/include/linux/ssb/ssb.h: In > function 'ssb_dma_sync_single_range_for_cpu': > /home/proski/src/compat-wireless-2.6.32.8/include/linux/ssb/ssb.h:595: > error: implicit declaration of function 'dma_sync_single_range_for_cpu' > /home/proski/src/compat-wireless-2.6.32.8/include/linux/ssb/ssb.h: In > function 'ssb_dma_sync_single_range_for_device': > /home/proski/src/compat-wireless-2.6.32.8/include/linux/ssb/ssb.h:620: > error: implicit declaration of function > 'dma_sync_single_range_for_device' > > That appears to be caused by the lack of > dma_sync_single_range_for_device on the arm architecture. Interesting... well that would just mean we have to lift SSB off of 2.6.28 kernels. > Other > architectures have it. "make -k" doesn't find any other errors. All > other drivers compile fine. Thanks for the reports and tests. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html