Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]>

diff --git a/drivers/net/s3c4510b_eth.h b/drivers/net/s3c4510b_eth.h
index cbddba7..048307f 100644
--- a/drivers/net/s3c4510b_eth.h
+++ b/drivers/net/s3c4510b_eth.h
@@ -30,8 +30,6 @@
  *
  */
 
-#define __packed    __attribute__ ((packed))
-
 #define ETH_MAC_ADDR_SIZE           (6)    /*  dst,src addr is 6bytes each */
 #define ETH_MaxTxFrames             (16)   /*  Max number of Tx Frames */
 
@@ -283,12 +281,14 @@ typedef struct __RX_FrameDescriptor {
 } RX_FrameDescriptor;
 
 /*  MAC Frame Structure */
-typedef struct __MACFrame {
-       u8     m_dstAddr[6] __packed;
-       u8     m_srcAddr[6] __packed;
-       u16  m_lengthOrType __packed;
-       u8  m_payload[1506] __packed;
-} MACFrame;
+struct __MACFrame {
+       u8     m_dstAddr[6];
+       u8     m_srcAddr[6];
+       u16  m_lengthOrType;
+       u8  m_payload[1506];
+} __attribute__ ((packed));
+
+typedef struct __MACFrame MACFrame;
 
 /* Ethernet Control block */
 typedef struct __ETH {
-- 
1.5.4.5


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to