#1646: MIPS: ioread32 & iowrite32 not available in Linux-2.6
-----------------------------------+----------------------------------------
      Reporter:  [EMAIL PROTECTED]  |       Owner:  proski
          Type:  defect            |      Status:  new   
      Priority:  minor             |   Milestone:        
     Component:  madwifi: driver   |     Version:  trunk 
    Resolution:                    |    Keywords:        
Patch_attached:  1                 |  
-----------------------------------+----------------------------------------
Comment (by proski):

 The macros are defined in the header:
 {{{
 [EMAIL PROTECTED] linux-2.6.19]$ grep -A3 ^VERSION Makefile
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 19
 EXTRAVERSION = .1
 [EMAIL PROTECTED] linux-2.6.19]$ grep iowrite32 include/asm-mips/io.h
 #define iowrite32(l,addr)       writel(l,addr)
 #define iowrite32_rep(a,b,c)    writesl(a,b,c)
 [EMAIL PROTECTED] linux-2.6.19]$ grep ioread32 include/asm-mips/io.h
 #define ioread32(addr)          readl(addr)
 #define ioread32_rep(a,b,c)     readsl(a,b,c)
 [EMAIL PROTECTED] linux-2.6.19]$
 }}}

 As for ath_hal/ah_os.c, it actually includes asm/io.h before ah_os.h, so I
 just cannot see how iowrite and ioread can remain unexpanded and appear in
 gcc warnings.

 And please don't apologize for the noise.  It may still be a real issue,
 even if it looks weird and I suspect some breakage in your build system.

-- 
Ticket URL: <http://madwifi.org/ticket/1646#comment:6>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to