diff options
author | Thomas Huth <thuth@redhat.com> | 2018-04-17 07:36:10 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2018-05-02 11:27:14 +0200 |
commit | 0c18822953011ec0a3038c8a5eca1803b72a213e (patch) | |
tree | d184968a60f345343c40edbe14494bfe8682a172 /pc-bios/linuxboot_dma.bin | |
parent | 622b39178057289a1c8c1b5148f513e658e90ea1 (diff) |
pc-bios/s390-ccw/net: Split up net_load() into init, load and release parts
When we want to support pxelinux-style network booting later, we've got
to do several TFTP transfers - and we do not want to apply for a new IP
address via DHCP each time. So split up net_load into three parts:
1. net_init(), which initializes virtio-net, gets an IP address via DHCP
and prints out the related information.
2. The tftp_load call is now moved directly into the main() function
3. A new net_release() function which should tear down the network stack
before we are done in the firmware.
This will make it easier to extend the code in the next patches.
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'pc-bios/linuxboot_dma.bin')
0 files changed, 0 insertions, 0 deletions