From mboxrd@z Thu Jan 1 00:00:00 1970 From: T Ziomek Date: Tue, 19 Oct 2010 14:02:45 -0500 Subject: [U-Boot] [PATCH] Support for sending DHCP client options In-Reply-To: <4CBDA038.7020209@rocketmail.com> References: <4CBDA038.7020209@rocketmail.com> Message-ID: <20101019190245.GA7751@email.mot.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Oct 19, 2010 at 02:42:16PM +0100, Gray Remlin wrote: > Signed-off-by: Gray Remlin > --- > README | 7 ++++++ > common/cmd_nvedit.c | 3 ++ > net/bootp.c | 52 > +++++++++++++++++++++++++++++++++++++++++++++++++++ > tools/env/fw_env.c | 4 ++- > 4 files changed, 65 insertions(+), 1 deletions(-) > > diff --git a/README b/README > index a52f3bf..90da375 100644 > --- a/README > +++ b/README > @@ -1279,6 +1279,7 @@ The following options need to be configured: > CONFIG_BOOTP_NTPSERVER > CONFIG_BOOTP_TIMEOFFSET > CONFIG_BOOTP_VENDOREX > + CONFIG_BOOTP_OPTIONS > > CONFIG_BOOTP_SERVERIP - TFTP server will be the serverip > environment variable, not the BOOTP server. > @@ -1299,6 +1300,12 @@ The following options need to be configured: > of the "hostname" environment variable is passed as > option 12 to the DHCP server. > > + CONFIG_BOOTP_OPTIONS - The environment is checked for the > + supported DHCPv4 client options (prefixed with dhcp_), any > + found are sent during a "DHCP Discover" and "DHCP Request". > + The DHCP server can use this information to conditionally > + tailor it's response. s/it's/its/ -- It is of fundamental importance to understand | that the primary recipient of your source code | Email to 'CTZ001' is not the compiler but your coworkers. | at 'email.mot.com' -- KreaTV SW Dev Guidelines |