beceem: fix definition of VLAN header type
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 17:54:21 +0000 (13:54 -0400)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 1 Nov 2010 17:54:21 +0000 (13:54 -0400)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
drivers/staging/bcm/Protocol.h

index 00f1cc12356aa02bd399ea6b180f950e003605d5..b8a4009bdf0cb74568ce20321cdc92db078b4a27 100644 (file)
@@ -85,10 +85,10 @@ typedef struct _ETH_CS_ETH2_FRAME
        ETH_HEADER_STRUC EThHdr;
 } __attribute__((packed)) ETH_CS_ETH2_FRAME;
 
+#define ETHERNET_FRAMETYPE_IPV4                ntohs(0x0800)
+#define ETHERNET_FRAMETYPE_IPV6        ntohs(0x86dd)
+#define ETHERNET_FRAMETYPE_802QVLAN    ntohs(0x8100)
 
-#define ETHERNET_FRAMETYPE_IPV4 ntohs(0x0800)
-#define ETHERNET_FRAMETYPE_IPV6 ntohs(0x86dd)
-#define ETHERNET_FRAMETYPE_802QVLAN 0x8100
 //Per SF CS Specification Encodings
 typedef enum _E_SERVICEFLOW_CS_SPEC_
 {