Skip to contentSkip to conversation

more tulip endianness annotations

PATCH New Al Viro 1 participant 1 message Oct 14, 2007 Network drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 more tulip endianness annotations

---
 drivers/net/tulip/de4x5.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/tulip/de4x5.h +1 -1
index 12af0cc..9fb8d7f 100644
@@ -1017,4 +1017,4 @@ struct de4x5_ioctl {
 #define DE4X5_SET_OMR           0x0d /* Set the OMR Register contents */
 #define DE4X5_GET_REG           0x0e /* Get the DE4X5 Registers */
 
-#define MOTO_SROM_BUG    ((lp->active == 8) && (((le32_to_cpu(get_unaligned(((s32 *)dev->dev_addr))))&0x00ffffff)==0x3e0008))
+#define MOTO_SROM_BUG    ((lp->active == 8) && (((le32_to_cpu(get_unaligned(((__le32 *)dev->dev_addr))))&0x00ffffff)==0x3e0008))
Signature · 1 line
1.5.3.GIT