diff options
Diffstat (limited to 'drivers/net/82596.c')
-rw-r--r-- | drivers/net/82596.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/82596.c b/drivers/net/82596.c index cca94b9c08ae..77547545509b 100644 --- a/drivers/net/82596.c +++ b/drivers/net/82596.c | |||
@@ -122,13 +122,13 @@ static char version[] __initdata = | |||
122 | #define ISCP_BUSY 0x00010000 | 122 | #define ISCP_BUSY 0x00010000 |
123 | #define MACH_IS_APRICOT 0 | 123 | #define MACH_IS_APRICOT 0 |
124 | #else | 124 | #else |
125 | #define WSWAPrfd(x) ((struct i596_rfd *)(x)) | 125 | #define WSWAPrfd(x) ((struct i596_rfd *)((long)x)) |
126 | #define WSWAPrbd(x) ((struct i596_rbd *)(x)) | 126 | #define WSWAPrbd(x) ((struct i596_rbd *)((long)x)) |
127 | #define WSWAPiscp(x) ((struct i596_iscp *)(x)) | 127 | #define WSWAPiscp(x) ((struct i596_iscp *)((long)x)) |
128 | #define WSWAPscb(x) ((struct i596_scb *)(x)) | 128 | #define WSWAPscb(x) ((struct i596_scb *)((long)x)) |
129 | #define WSWAPcmd(x) ((struct i596_cmd *)(x)) | 129 | #define WSWAPcmd(x) ((struct i596_cmd *)((long)x)) |
130 | #define WSWAPtbd(x) ((struct i596_tbd *)(x)) | 130 | #define WSWAPtbd(x) ((struct i596_tbd *)((long)x)) |
131 | #define WSWAPchar(x) ((char *)(x)) | 131 | #define WSWAPchar(x) ((char *)((long)x)) |
132 | #define ISCP_BUSY 0x0001 | 132 | #define ISCP_BUSY 0x0001 |
133 | #define MACH_IS_APRICOT 1 | 133 | #define MACH_IS_APRICOT 1 |
134 | #endif | 134 | #endif |