On Nov 11, 2007 11:27 PM, Pavel Roskin <proski@xxxxxxx> wrote: > Hello! > > On Sat, 2007-11-10 at 22:53 -0500, Luis R. Rodriguez wrote: > > I've started a compatibility package for the Linux wireless subsystem > > for kernels >= 2.6.22. You can download it here: > > > > http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 > > I would prefer that you use exactly the same path for all drivers, so > that the patches are compatible. Wireless drivers should be in > drivers/net/wireless. Thanks for reviewing this. I've changed the directories to match the kernel's. As a consequence the updates/ directory also have a similar structure now. Upon install we'll be sure to remove the old directories if present for now. > Also, I cannot compile it against current wireless-2.6/everything > compiled outside the source tree: > > /home/proski/src/compat-wireless-2.6/drivers/iwlwifi/iwl-3945-rs.c:40:40: error: ../mac80211/ieee80211_rate.h: No such file or directory I ran into to this but I had fixed it in compat.diff. Anyway, this won't be necessary anymore as the directories match the kernel's now. > After some hack to make it compile, I still get: > > CC [M] /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.o > /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.c:24:6: warning: > "LINUX_VERSION_CODE" is not defined > /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.c:24:28: > warning: "KERNEL_VERSION" is not defined > /home/proski/src/compat-wireless-2.6/mac80211/ieee80211.c:24:42: error: > missing binary operator before token "(" I'm not sure what happened here as <linux/version.h> should have been included in mac80211.h. Anyway, to be sure we won't run into these I've added <net/compat.h> to <net/cfg80211.h> which much of the wireless subsystem uses. Please give this new release a try: http://linuxwireless.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2 I've also started documenting this online: http://linuxwireless.org/en/users/download Note: This link will be gone soon and replaced with: http://linuxwireless.org/en/users/Download I need 2.6.23 testers (hint Fedora people). 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