diff options
author | Michael Brown | 2008-03-25 21:46:16 +0100 |
---|---|---|
committer | Michael Brown | 2008-03-25 21:46:16 +0100 |
commit | 92d15eff30410dcb0ec406e06b131fb7d9179ffd (patch) | |
tree | 191d29013372b541d353bbfa55114b8060dd557c /src/usr/iscsiboot.c | |
parent | [PXEXT] Avoid returning a false EOF when we have an empty buffer queued (diff) | |
download | ipxe-92d15eff30410dcb0ec406e06b131fb7d9179ffd.tar.gz ipxe-92d15eff30410dcb0ec406e06b131fb7d9179ffd.tar.xz ipxe-92d15eff30410dcb0ec406e06b131fb7d9179ffd.zip |
[Settings] Remove assumption that all settings have DHCP tag values
Allow for settings to be described by something other than a DHCP option
tag if desirable. Currently used only for the MAC address setting.
Separate out fake DHCP packet creation code from dhcp.c to fakedhcp.c.
Remove notion of settings from dhcppkt.c.
Rationalise dhcp.c to use settings API only for final registration of the
DHCP options, rather than using {store,fetch}_setting throughout.
Diffstat (limited to 'src/usr/iscsiboot.c')
-rw-r--r-- | src/usr/iscsiboot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/usr/iscsiboot.c b/src/usr/iscsiboot.c index c3a477c4..99edc879 100644 --- a/src/usr/iscsiboot.c +++ b/src/usr/iscsiboot.c @@ -2,7 +2,6 @@ #include <string.h> #include <stdio.h> #include <gpxe/iscsi.h> -#include <gpxe/dhcp.h> #include <gpxe/settings.h> #include <gpxe/netdevice.h> #include <gpxe/ibft.h> @@ -46,7 +45,6 @@ int iscsiboot ( const char *root_path ) { goto error_init; } - drive.drive = fetch_uintz_setting ( NULL, DHCP_EB_BIOS_DRIVE ); drive.blockdev = &scsi.blockdev; /* FIXME: ugly, ugly hack */ |