Summary: | net-wireless/ndiswrapper-1.44: Adding linux-2.6.22 compatibility | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabio Correa <facorread> |
Component: | New packages | Assignee: | Piotr Jaroszyński (RETIRED) <peper> |
Status: | VERIFIED FIXED | ||
Severity: | enhancement | CC: | brebs, mobile+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ndiswrapper-1.44-r1.ebuild
ndiswrapper-1.45_rc3.ebuild |
Description
Fabio Correa
2007-05-27 01:11:35 UTC
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. |