mirror of
https://github.com/ipxe/ipxe
synced 2026-02-28 03:11:18 +03:00
[ethernet] Make LACP support configurable at build time
Add a build configuration option NET_PROTO_LACP to control whether or not LACP support is included for Ethernet devices. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -43,3 +43,6 @@ REQUIRE_OBJECT ( fcoe );
|
|||||||
#ifdef NET_PROTO_STP
|
#ifdef NET_PROTO_STP
|
||||||
REQUIRE_OBJECT ( stp );
|
REQUIRE_OBJECT ( stp );
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef NET_PROTO_LACP
|
||||||
|
REQUIRE_OBJECT ( eth_slow );
|
||||||
|
#endif
|
||||||
|
|||||||
@@ -38,6 +38,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|||||||
#undef NET_PROTO_IPV6 /* IPv6 protocol */
|
#undef NET_PROTO_IPV6 /* IPv6 protocol */
|
||||||
#undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
|
#undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
|
||||||
#define NET_PROTO_STP /* Spanning Tree protocol */
|
#define NET_PROTO_STP /* Spanning Tree protocol */
|
||||||
|
#define NET_PROTO_LACP /* Link Aggregation control protocol */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PXE support
|
* PXE support
|
||||||
|
|||||||
@@ -278,6 +278,3 @@ REQUIRING_SYMBOL ( ethernet_protocol );
|
|||||||
|
|
||||||
/* Drag in Ethernet configuration */
|
/* Drag in Ethernet configuration */
|
||||||
REQUIRE_OBJECT ( config_ethernet );
|
REQUIRE_OBJECT ( config_ethernet );
|
||||||
|
|
||||||
/* Drag in Ethernet slow protocols */
|
|
||||||
REQUIRE_OBJECT ( eth_slow );
|
|
||||||
|
|||||||
Reference in New Issue
Block a user