]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/if_ether.h
[SCSI] lpfc 8.1.2: Remove hba_list from struct lpfc_hba
[linux-2.6-omap-h63xx.git] / include / linux / if_ether.h
index d21c305c6c64cec22a264fd6cb8f6ae6fb22e784..7a92c1ce1457c6dfbcb7a05fd0c06310df575429 100644 (file)
@@ -21,6 +21,8 @@
 #ifndef _LINUX_IF_ETHER_H
 #define _LINUX_IF_ETHER_H
 
+#include <linux/types.h>
+
 /*
  *     IEEE 802.3 Ethernet magic constants.  The frame sizes omit the preamble
  *     and FCS/CRC (frame check sequence). 
@@ -70,6 +72,7 @@
                                         * over Ethernet
                                         */
 #define ETH_P_AOE      0x88A2          /* ATA over Ethernet            */
+#define ETH_P_TIPC     0x88CA          /* TIPC                         */
 
 /*
  *     Non DIX types. Won't clash for 1500 types.
 struct ethhdr {
        unsigned char   h_dest[ETH_ALEN];       /* destination eth addr */
        unsigned char   h_source[ETH_ALEN];     /* source ether addr    */
-       unsigned short  h_proto;                /* packet type ID field */
+       __be16          h_proto;                /* packet type ID field */
 } __attribute__((packed));
 
 #ifdef __KERNEL__