aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip/de2104x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/tulip/de2104x.c')
-rw-r--r--drivers/net/tulip/de2104x.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/tulip/de2104x.c b/drivers/net/tulip/de2104x.c
index f12e33a17363..77d9dd7ea34f 100644
--- a/drivers/net/tulip/de2104x.c
+++ b/drivers/net/tulip/de2104x.c
@@ -264,10 +264,10 @@ struct de_srom_info_leaf {
264} __attribute__((packed)); 264} __attribute__((packed));
265 265
266struct de_desc { 266struct de_desc {
267 u32 opts1; 267 __le32 opts1;
268 u32 opts2; 268 __le32 opts2;
269 u32 addr1; 269 __le32 addr1;
270 u32 addr2; 270 __le32 addr2;
271}; 271};
272 272
273struct media_info { 273struct media_info {
@@ -1771,8 +1771,8 @@ static void __devinit de21041_get_srom_info (struct de_private *de)
1771 1771
1772 /* download entire eeprom */ 1772 /* download entire eeprom */
1773 for (i = 0; i < DE_EEPROM_WORDS; i++) 1773 for (i = 0; i < DE_EEPROM_WORDS; i++)
1774 ((u16 *)ee_data)[i] = 1774 ((__le16 *)ee_data)[i] =
1775 le16_to_cpu(tulip_read_eeprom(de->regs, i, ee_addr_size)); 1775 cpu_to_le16(tulip_read_eeprom(de->regs, i, ee_addr_size));
1776 1776
1777 /* DEC now has a specification but early board makers 1777 /* DEC now has a specification but early board makers
1778 just put the address in the first EEPROM locations. */ 1778 just put the address in the first EEPROM locations. */