From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ladislav Michl Date: Tue, 5 Apr 2005 16:51:27 +0200 Subject: [U-Boot-Users] Re: FWD: SNTP support patch In-Reply-To: <20050330205446.E062AC108D@atlas.denx.de> References: <20050330205446.E062AC108D@atlas.denx.de> Message-ID: <20050405145127.GA9944@orphique> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Mar 30, 2005 at 10:54:41PM +0200, Wolfgang Denk wrote: > [Forwarded on behalf of Masami Komiya.] > > ------- Forwarded Message > > Date: Wed, 30 Mar 2005 16:42:03 +0900 > From: Masami Komiya > To: Wolfgang Denk > cc: "Sonare IT - Komiya" > Subject: SNTP support patch > > Dear Wolfgang, > > No time see you. > > I make a patch to add SNTP support and expand time server and time offset > fields of DHCP support. (The roundtrip delay is ignored :-) Extenting proto_t enum rings bell here. Please consider applying following inliner. Index: common/cmd_net.c =================================================================== RCS file: /cvsroot/u-boot/u-boot/common/cmd_net.c,v retrieving revision 1.15 diff -u -r1.15 cmd_net.c --- common/cmd_net.c 2 Apr 2005 22:37:55 -0000 1.15 +++ common/cmd_net.c 5 Apr 2005 14:44:42 -0000 @@ -33,7 +33,7 @@ extern int do_bootm (cmd_tbl_t *, int, int, char *[]); -static int netboot_common (int, cmd_tbl_t *, int , char *[]); +static int netboot_common (proto_t, cmd_tbl_t *, int , char *[]); int do_bootp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) { @@ -152,7 +152,7 @@ } static int -netboot_common (int proto, cmd_tbl_t *cmdtp, int argc, char *argv[]) +netboot_common (proto_t proto, cmd_tbl_t *cmdtp, int argc, char *argv[]) { char *s; int rcode = 0;