Ivan.
--- 2.4.7/include/linux/netdevice.h Mon Jul 23 12:40:26 2001
+++ linux/include/linux/netdevice.h Mon Jul 23 14:58:03 2001
@@ -298,8 +298,8 @@ struct net_device
/* Interface address info. */
unsigned char broadcast[MAX_ADDR_LEN]; /* hw bcast add */
- unsigned char pad; /* make dev_addr aligned to 8 bytes */
- unsigned char dev_addr[MAX_ADDR_LEN]; /* hw address */
+ unsigned char dev_addr[MAX_ADDR_LEN] __attribute__((aligned(8)));
+ /* hw address, aligned to 8 bytes */
unsigned char addr_len; /* hardware address length */
struct dev_mc_list *mc_list; /* Multicast mac addresses */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/