[IPv4] Add a config option for IPv4
IPv4 may not always be dragged into the link, so add a specific configuration option for it.
This commit is contained in:
parent
aec9b8a41b
commit
0fbe484566
10
src/config.h
10
src/config.h
@ -74,6 +74,16 @@
|
|||||||
|
|
||||||
/* @END isa.h */
|
/* @END isa.h */
|
||||||
|
|
||||||
|
/* @BEGIN general.h
|
||||||
|
*
|
||||||
|
* Network protocols
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define NET_PROTO_IPV4 /* IPv4 protocol */
|
||||||
|
|
||||||
|
/* @END general.h */
|
||||||
|
|
||||||
/* @BEGIN general.h
|
/* @BEGIN general.h
|
||||||
*
|
*
|
||||||
* Download protocols
|
* Download protocols
|
||||||
|
@ -53,40 +53,42 @@
|
|||||||
#ifdef CONSOLE_FIRMWARE
|
#ifdef CONSOLE_FIRMWARE
|
||||||
REQUIRE_OBJECT ( bios_console );
|
REQUIRE_OBJECT ( bios_console );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONSOLE_SERIAL
|
#ifdef CONSOLE_SERIAL
|
||||||
REQUIRE_OBJECT ( serial );
|
REQUIRE_OBJECT ( serial );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONSOLE_DIRECT_VGA
|
#ifdef CONSOLE_DIRECT_VGA
|
||||||
REQUIRE_OBJECT ( video_subr );
|
REQUIRE_OBJECT ( video_subr );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONSOLE_BTEXT
|
#ifdef CONSOLE_BTEXT
|
||||||
REQUIRE_OBJECT ( btext );
|
REQUIRE_OBJECT ( btext );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONSOLE_PC_KBD
|
#ifdef CONSOLE_PC_KBD
|
||||||
REQUIRE_OBJECT ( pc_kbd );
|
REQUIRE_OBJECT ( pc_kbd );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONSOLE_SYSLOG
|
#ifdef CONSOLE_SYSLOG
|
||||||
REQUIRE_OBJECT ( syslog );
|
REQUIRE_OBJECT ( syslog );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Timers
|
* Drag in all requested timers
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef TIMER_BIOS
|
#ifdef TIMER_BIOS
|
||||||
REQUIRE_OBJECT ( timer_bios );
|
REQUIRE_OBJECT ( timer_bios );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TIMER_RDTSC
|
#ifdef TIMER_RDTSC
|
||||||
REQUIRE_OBJECT ( timer_rdtsc );
|
REQUIRE_OBJECT ( timer_rdtsc );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Drag in all requested protocols
|
* Drag in all requested network protocols
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
#ifdef NET_PROTO_IPV4
|
||||||
|
REQUIRE_OBJECT ( ipv4 );
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Drag in all requested download protocols
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifdef DOWNLOAD_PROTO_TFTP
|
#ifdef DOWNLOAD_PROTO_TFTP
|
||||||
@ -112,13 +114,12 @@ REQUIRE_OBJECT ( slam );
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Drag in any required resolvers
|
* Drag in all requested resolvers
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#ifdef DNS_RESOLVER
|
#ifdef DNS_RESOLVER
|
||||||
REQUIRE_OBJECT ( dns );
|
REQUIRE_OBJECT ( dns );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef NMB_RESOLVER
|
#ifdef NMB_RESOLVER
|
||||||
REQUIRE_OBJECT ( nmb );
|
REQUIRE_OBJECT ( nmb );
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user