Build fixes for 2.6.16 kernels.

This commit is contained in:
solomon 2006-03-30 19:18:53 +00:00
parent b4ac1c80f3
commit 338fba6c72
4 changed files with 4 additions and 2 deletions

View file

@ -41,6 +41,7 @@
* Intersil Corporation as part of PRISM(R) chipset product development.
*
* --------------------------------------------------------------------
- prism2_usb build fix for 2.6.16
- Patches from Debian (via Victor Seva)
- Fix bugs in /etc/wlan/shared, including a security hole
- Fix build on 2.4.27 kernel

View file

@ -265,7 +265,6 @@ if [ $VERSION_CODE -lt `version 2 4 0` ] ; then
fi
if [ $VERSION_CODE -gt `version 2 5 0` ] ; then
$ECHO "Kernel 2.5/2.6 support is highly experimental."
KERN_25=y
write_bool KERN_25
fi

View file

@ -143,11 +143,13 @@
as new ones are discovered, add them below.
*/
#if defined(WLAN_HOSTIF)
#if ((WLAN_HOSTIF == WLAN_PCI) || (WLAN_HOSTIF == WLAN_PLX))
#if ((WLAN_SYSARCH == WLAN_SKIFF) || (WLAN_SYSARCH == WLAN_PMAC) || (WLAN_SYSARCH == WLAN_SPARC))
#define REVERSE_ENDIAN
#endif
#endif
#endif
/*=============================================================*/
/*------ Bit settings -----------------------------------------*/

View file

@ -313,7 +313,7 @@ prism2sta_disconnect_usb(struct usb_interface *interface)
struct usb_driver prism2_usb_driver = {
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19))
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,4,19) && (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16))
.owner = THIS_MODULE,
#endif
.name = "prism2_usb",