diff options
-rw-r--r-- | drivers/net/atarilance.c | 2 | ||||
-rw-r--r-- | drivers/net/sun3lance.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atarilance.c b/drivers/net/atarilance.c index ad011214c7f2..e01b6a78ec63 100644 --- a/drivers/net/atarilance.c +++ b/drivers/net/atarilance.c | |||
@@ -235,7 +235,7 @@ struct lance_private { | |||
235 | #define MEM lp->mem | 235 | #define MEM lp->mem |
236 | #define DREG IO->data | 236 | #define DREG IO->data |
237 | #define AREG IO->addr | 237 | #define AREG IO->addr |
238 | #define REGA(a) ( AREG = (a), DREG ) | 238 | #define REGA(a) (*( AREG = (a), &DREG )) |
239 | 239 | ||
240 | /* Definitions for packet buffer access: */ | 240 | /* Definitions for packet buffer access: */ |
241 | #define PKT_BUF_SZ 1544 | 241 | #define PKT_BUF_SZ 1544 |
diff --git a/drivers/net/sun3lance.c b/drivers/net/sun3lance.c index 1f43bbfbc1c7..5c8fcd40ef4d 100644 --- a/drivers/net/sun3lance.c +++ b/drivers/net/sun3lance.c | |||
@@ -162,7 +162,7 @@ struct lance_private { | |||
162 | #define MEM lp->mem | 162 | #define MEM lp->mem |
163 | #define DREG lp->iobase[0] | 163 | #define DREG lp->iobase[0] |
164 | #define AREG lp->iobase[1] | 164 | #define AREG lp->iobase[1] |
165 | #define REGA(a) ( AREG = (a), DREG ) | 165 | #define REGA(a) (*( AREG = (a), &DREG )) |
166 | 166 | ||
167 | /* Definitions for the Lance */ | 167 | /* Definitions for the Lance */ |
168 | 168 | ||