diff options
Diffstat (limited to 'drivers/net/stnic.c')
-rw-r--r-- | drivers/net/stnic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/stnic.c b/drivers/net/stnic.c index 74228348995d..3fd7a4fee665 100644 --- a/drivers/net/stnic.c +++ b/drivers/net/stnic.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/io.h> | 21 | #include <asm/io.h> |
22 | #include <asm/se/se.h> | 22 | #include <asm/se/se.h> |
23 | #include <asm/machvec.h> | 23 | #include <asm/machvec.h> |
24 | #ifdef CONFIG_SH_STANDARD_BIOS | 24 | #ifdef CONFIG_SH_STANDARD_BIOS |
25 | #include <asm/sh_bios.h> | 25 | #include <asm/sh_bios.h> |
26 | #endif | 26 | #endif |
27 | 27 | ||
@@ -98,7 +98,7 @@ STNIC_WRITE (int reg, byte val) | |||
98 | *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); | 98 | *(vhalf *) (PA_83902 + ((reg) << 1)) = ((half) (val) << 8); |
99 | STNIC_DELAY (); | 99 | STNIC_DELAY (); |
100 | } | 100 | } |
101 | 101 | ||
102 | static int __init stnic_probe(void) | 102 | static int __init stnic_probe(void) |
103 | { | 103 | { |
104 | struct net_device *dev; | 104 | struct net_device *dev; |
@@ -114,7 +114,7 @@ static int __init stnic_probe(void) | |||
114 | return -ENOMEM; | 114 | return -ENOMEM; |
115 | SET_MODULE_OWNER(dev); | 115 | SET_MODULE_OWNER(dev); |
116 | 116 | ||
117 | #ifdef CONFIG_SH_STANDARD_BIOS | 117 | #ifdef CONFIG_SH_STANDARD_BIOS |
118 | sh_bios_get_node_addr (stnic_eadr); | 118 | sh_bios_get_node_addr (stnic_eadr); |
119 | #endif | 119 | #endif |
120 | for (i = 0; i < ETHER_ADDR_LEN; i++) | 120 | for (i = 0; i < ETHER_ADDR_LEN; i++) |
@@ -140,7 +140,7 @@ static int __init stnic_probe(void) | |||
140 | 140 | ||
141 | ei_status.name = dev->name; | 141 | ei_status.name = dev->name; |
142 | ei_status.word16 = 1; | 142 | ei_status.word16 = 1; |
143 | #ifdef __LITTLE_ENDIAN__ | 143 | #ifdef __LITTLE_ENDIAN__ |
144 | ei_status.bigendian = 0; | 144 | ei_status.bigendian = 0; |
145 | #else | 145 | #else |
146 | ei_status.bigendian = 1; | 146 | ei_status.bigendian = 1; |