mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
Remove _PROTOCOL macros for gcc 3.2 compatibility
This commit is contained in:
@@ -253,14 +253,12 @@ static int aoe_rx ( struct pk_buff *pkb, struct net_device *netdev __unused,
|
||||
}
|
||||
|
||||
/** AoE protocol */
|
||||
struct net_protocol aoe_protocol = {
|
||||
struct net_protocol aoe_protocol __net_protocol = {
|
||||
.name = "AoE",
|
||||
.net_proto = htons ( ETH_P_AOE ),
|
||||
.rx = aoe_rx,
|
||||
};
|
||||
|
||||
NET_PROTOCOL ( aoe_protocol );
|
||||
|
||||
/**
|
||||
* Open AoE session
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user