]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sun3lance.c
[PATCH] mutex subsystem, add include/asm-x86_64/mutex.h
[linux-2.6-omap-h63xx.git] / drivers / net / sun3lance.c
index 1f43bbfbc1c78af3a95902ed37d602623b1ab292..5c8fcd40ef4d29936fad6828d3fda9d9df58ffcd 100644 (file)
@@ -162,7 +162,7 @@ struct lance_private {
 #define        MEM     lp->mem
 #define        DREG    lp->iobase[0]
 #define        AREG    lp->iobase[1]
-#define        REGA(a) ( AREG = (a), DREG )
+#define        REGA(a) (*( AREG = (a), &DREG ))
 
 /* Definitions for the Lance */