Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #1783: 30-define-ioreadwrite32be-for-little-endian-too.patch

File 30-define-ioreadwrite32be-for-little-endian-too.patch, 0.6 kB (added by rod@whitby.id.au, 11 years ago)

patch

  • madwifi-ng-r3314-20080131/ath_hal/ah_os.h

    old new  
    168168 * for the second time, so the native implementations should be preferred. 
    169169 */ 
    170170#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,12)) && \ 
    171         !defined(CONFIG_GENERIC_IOMAP) && (AH_BYTE_ORDER == AH_BIG_ENDIAN) &&
     171        !defined(CONFIG_GENERIC_IOMAP) &&
    172172        !defined(__mips__) && !defined(__hppa__) && !defined(__powerpc__) 
    173173# ifndef iowrite32be 
    174174#  define iowrite32be(_val, _addr) iowrite32(swab32((_val)), (_addr))