Commit 1f05da95 authored by Kevin McKinney's avatar Kevin McKinney Committed by Greg Kroah-Hartman

Staging: bcm: Remove typedef for _E_NWPKT_ETHFRAME_TYPE and call directly.

This patch removes typedef for _E_NWPKT_ETHFRAME_TYPE,
and changes the name of the enum to bcm_eth_frame_type.
In addition, any calls to enum "E_NWPKT_ETHFRAME_TYPE,
are changed to call directly.
Signed-off-by: default avatarKevin McKinney <klmckinney1@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5fa9ac45
...@@ -29,17 +29,17 @@ typedef enum _E_NWPKT_IPFRAME_TYPE { ...@@ -29,17 +29,17 @@ typedef enum _E_NWPKT_IPFRAME_TYPE {
eIPv6Packet eIPv6Packet
} E_NWPKT_IPFRAME_TYPE; } E_NWPKT_IPFRAME_TYPE;
typedef enum _E_NWPKT_ETHFRAME_TYPE { enum bcm_eth_frame_type {
eEthUnsupportedFrame, eEthUnsupportedFrame,
eEth802LLCFrame, eEth802LLCFrame,
eEth802LLCSNAPFrame, eEth802LLCSNAPFrame,
eEth802QVLANFrame, eEth802QVLANFrame,
eEthOtherFrame eEthOtherFrame
} E_NWPKT_ETHFRAME_TYPE; };
struct bcm_eth_packet_info { struct bcm_eth_packet_info {
E_NWPKT_IPFRAME_TYPE eNwpktIPFrameType; E_NWPKT_IPFRAME_TYPE eNwpktIPFrameType;
E_NWPKT_ETHFRAME_TYPE eNwpktEthFrameType; enum bcm_eth_frame_type eNwpktEthFrameType;
unsigned short usEtherType; unsigned short usEtherType;
unsigned char ucDSAP; unsigned char ucDSAP;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment