]> git.ozlabs.org Git - yaboot.git/commit
Fix netboot fucntionality to use the parameters specified.
authorChandra Seetharaman <sekharan@us.ibm.com>
Fri, 9 Jan 2009 13:57:44 +0000 (05:57 -0800)
committerTony Breeds <tony@bakeyournoodle.com>
Thu, 5 Mar 2009 00:07:23 +0000 (11:07 +1100)
commit98eacaa1983cde1532e80e67466dfa615e5564a2
tree4193e495b29a2e1b017f936a6e9aad1ed72d6add
parentd1e8ca1612860aece5ee4ab5f23d91737f0fa3e6
Fix netboot fucntionality to use the parameters specified.

Currently, yaboot works properly when there is a tftp boot server serving
the broadcast requests sent in the network.

If the user specifies siaddr, ciaddr, and other arguments in the command
line, it is not handled appropriately.

This patch changes that behavior and make yaboot work properly in both cases.

The semantics specified in section 4.1 of
http://playground.sun.com/1275/practice/obp-tftp/tftp1_0.pdf is followed.
([bootp,]siaddr,filename,ciaddr,giaddr,bootp-retries,tftp-retries)

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
---
include/file.h
second/file.c
second/fs_of.c
second/yaboot.c