2002-06-15 Yoshinori K. Okuji <okuji@enbug.org>
* stage2/disk_io.c [SUPPORT_NETBOOT] (GRUB): Defined. [SUPPORT_NETBOOT]: Include etherboot.h. [!STAGE1_5] (print_completions) [SUPPORT_NETBOOT]: When completing a disk name, if NETWORK_READY is true, add "nd" as a completion.
This commit is contained in:
parent
e2a3acbed0
commit
52c5e2e399
2 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
|||
2002-06-15 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* stage2/disk_io.c [SUPPORT_NETBOOT] (GRUB): Defined.
|
||||
[SUPPORT_NETBOOT]: Include etherboot.h.
|
||||
[!STAGE1_5] (print_completions) [SUPPORT_NETBOOT]: When
|
||||
completing a disk name, if NETWORK_READY is true, add "nd" as a
|
||||
completion.
|
||||
|
||||
2002-06-15 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* stage2/fsys_xfs.c (le32): Don't use bswap, but use xchgb and
|
||||
|
|
|
@ -19,9 +19,13 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "shared.h"
|
||||
#include <shared.h>
|
||||
#include <filesys.h>
|
||||
|
||||
#include "filesys.h"
|
||||
#ifdef SUPPORT_NETBOOT
|
||||
# define GRUB 1
|
||||
# include <etherboot.h>
|
||||
#endif
|
||||
|
||||
#ifdef GRUB_UTIL
|
||||
# include <device.h>
|
||||
|
@ -1310,6 +1314,11 @@ print_completions (int is_filename, int is_completion)
|
|||
}
|
||||
}
|
||||
|
||||
# ifdef SUPPORT_NETBOOT
|
||||
if (network_ready)
|
||||
print_a_completion ("nd");
|
||||
# endif /* SUPPORT_NETBOOT */
|
||||
|
||||
if (is_completion && *unique_string)
|
||||
{
|
||||
ptr = buf;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue