fix some bugs in netboot, print out the network configuration if bootp or arp succeeds.

This commit is contained in:
okuji 2000-02-11 02:50:36 +00:00
parent b9104596eb
commit bfbcbe125e
7 changed files with 96 additions and 10 deletions

View file

@ -1,3 +1,24 @@
2000-02-11 OKUJI Yoshinori <okuji@gnu.org>
From Pavel Roskin:
* stage2/shared.h [!GRUB_SHARED_HEADER] (GRUB_SHARED_HEADER):
Defined.
[GRUB_SHARED_HEADER]: Don't declare or define anything.
* netboot/main.c (print_network_configuration): New function.
(await_reply): Check for Control-C instead of ESC, because GRUB
already uses ESC for another purpose.
(rfc951_sleep): Check for the key input in the loop. If
Control-C is pushed, return immediately.
* netboot/etherboot (print_network_configuration): Declared.
(CTRL_C): New macro.
(ESC): Undefined.
* netboot/config.c (eth_probe): Clear ARPTABLE after clearing
NETWORK_READY.
* stage2/builtins.c (bootp_func): Call
print_network_configuration if bootp succeeds.
(rarp_func): Call print_network_configuration if rarp succeeds.
2000-02-11 OKUJI Yoshinori <okuji@gnu.org>
From Per Lundberg <plundis@byggdok.se>: