net-wireless/ndiswrapper-1.44 has been released with support for the upcoming 2.6.22 version of the Linux kernel. However, the ebuild checks for the NET_RADIO kernel build option, which is to be replaced by WLAN_80211. A proposed ebuild is on the way.
Created attachment 120407 [details] ndiswrapper-1.44-r1.ebuild This ebuild checks for the kernel build option "WLAN_80211" or "NET_RADIO" depending on whether the kernel version is 2.6.22 or not. It works with current release candidates and will surely work with releases.
Created attachment 120416 [details] ndiswrapper-1.45_rc3.ebuild Tidied ebuild. Adds support for "release candidate" versions. I use an RTL8187 with ndiswrapper & WPA. WLAN_80211 is not required. $ grep WLAN /usr/src/linux-2.6.22-rc2-git5/.config # CONFIG_WLAN_PRE80211 is not set # CONFIG_WLAN_80211 is not set $ grep WIRELESS /usr/src/linux-2.6.22-rc2-git5/.config CONFIG_WIRELESS_EXT=y # CONFIG_USB_SERIAL_SIERRAWIRELESS is not set From ntoskernel.h in ndiswrapper-1.45_rc3, it looks like the 2.6.22 kernel option needed is CONFIG_WIRELESS_EXT: #if defined(CONFIG_NET_RADIO) && !defined(CONFIG_WIRELESS_EXT) #define CONFIG_WIRELESS_EXT #endif #ifndef CONFIG_WIRELESS_EXT #warning "wirelss devices are not supported by this kernel" #endif
Thanks, I have included most of the changes in 1.45. No need to make the check for WIRELESS_EXT conditional as it has been around for quite some time. It is the NET_RADIO that has been removed in 2.6.22.