Build fixes for 2.6.16 kernels.
This commit is contained in:
parent
b4ac1c80f3
commit
338fba6c72
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 -----------------------------------------*/
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue