iPXE
config_ethernet.c
Go to the documentation of this file.
00001 /*
00002  * This program is free software; you can redistribute it and/or
00003  * modify it under the terms of the GNU General Public License as
00004  * published by the Free Software Foundation; either version 2 of the
00005  * License, or (at your option) any later version.
00006  *
00007  * This program is distributed in the hope that it will be useful, but
00008  * WITHOUT ANY WARRANTY; without even the implied warranty of
00009  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00010  * General Public License for more details.
00011  *
00012  * You should have received a copy of the GNU General Public License
00013  * along with this program; if not, write to the Free Software
00014  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00015  * 02110-1301, USA.
00016  *
00017  * You can also choose to distribute this program under the terms of
00018  * the Unmodified Binary Distribution Licence (as given in the file
00019  * COPYING.UBDL), provided that you have satisfied its requirements.
00020  */
00021 
00022 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00023 
00024 #include <config/general.h>
00025 
00026 /** @file
00027  *
00028  * Ethernet configuration options
00029  *
00030  */
00031 
00032 PROVIDE_REQUIRING_SYMBOL();
00033 
00034 /*
00035  * Drag in Ethernet-specific protocols
00036  */
00037 #ifdef SANBOOT_PROTO_AOE
00038 REQUIRE_OBJECT ( aoe );
00039 #endif
00040 #ifdef NET_PROTO_FCOE
00041 REQUIRE_OBJECT ( fcoe );
00042 #endif
00043 #ifdef NET_PROTO_STP
00044 REQUIRE_OBJECT ( stp );
00045 #endif
00046 #ifdef NET_PROTO_LACP
00047 REQUIRE_OBJECT ( eth_slow );
00048 #endif