#457: [PATCH] Fixes for converting jiffies to msec and vice versa
----------------------------------------+-----------------------------------
      Reporter:  [EMAIL PROTECTED]           |       Owner:  kelmo              
                 
          Type:  defect                 |      Status:  assigned                
            
      Priority:  trivial                |   Milestone:  version 0.9.0 - move to 
new codebase
     Component:  madwifi: 802.11 stack  |     Version:  trunk                   
            
    Resolution:                         |    Keywords:                          
            
Patch_attached:  1                      |  
----------------------------------------+-----------------------------------
Comment (by kelmo):

 Sorry, its not the fact that jiffies.h does not exist at all (i should
 have had sleep before reporting the problem so poorly).

 I was reporting that in response to failure to build on a 2.4.32 kernel
 (maybe simply a gcc issue?). The following error:

 {{{
 gcc -D__KERNEL__ -I/usr/src/linux-2.4.32-kel-1/include -Wall -Wstrict-
 prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-
 frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686  -DMODULE
 -DMODVERSIONS -include /usr/src/linux-2.4.32-
 kel-1/include/linux/modversions.h -include ./../include/compat.h
 -I./../include -I./../hal -I./../hal/linux -I./../ath_hal -I./../net80211
 -I./.. -Werror -DAH_BYTE_ORDER=AH_LITTLE_ENDIAN -fomit-frame-pointer
 -DATH_SUPERG_FF=1 -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1
 -DATH_SUPERG_XR=1 -nostdinc -iwithprefix include
 -DKBUILD_BASENAME=ieee80211_wireless  -DEXPORT_SYMTAB -c
 ieee80211_wireless.c
 ieee80211_wireless.c: In function `ieee80211_ioctl_setparam':
 ieee80211_wireless.c:2144: warning: implicit declaration of function
 `msecs_to_jiffies'
 ieee80211_wireless.c: In function `ieee80211_ioctl_getparam':
 ieee80211_wireless.c:2483: warning: implicit declaration of function
 `jiffies_to_msecs'
 make[3]: *** [ieee80211_wireless.o] Error 1
 make[3]: Leaving directory `/home/kelmo/madwifi/madwifi-
 ng.working/net80211'
 make[2]: *** [_mod_/home/kelmo/madwifi/madwifi-ng.working/net80211] Error
 2
 make[2]: Leaving directory `/usr/src/linux-2.4.32-kel-1'
 make[1]: *** [all] Error 2
 make[1]: Leaving directory `/home/kelmo/madwifi/madwifi-
 ng.working/net80211'
 make: *** [modules] Error 1
 }}}

 Also, I noticed another project that adds a compat macro for this problem,
 so that msecs_to_jiffies can be used on some legacy kernels:-

 http://www.ivtvdriver.org/trac/changeset/3029

 Thanks, Kel.

-- 
Ticket URL: <http://madwifi.org/ticket/457>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity

Reply via email to