summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2009-06-23 23:53:29 +0200
committerMichael Brown2009-06-23 23:56:21 +0200
commit4fe1e08a60df796a69435fb825629473dcac839e (patch)
treecd16d1c99e0315ccd4ba99250cfdc07d4975653f
parent[pxe] Fix interoperability with the Intel DOS UNDI driver (diff)
downloadipxe-4fe1e08a60df796a69435fb825629473dcac839e.tar.gz
ipxe-4fe1e08a60df796a69435fb825629473dcac839e.tar.xz
ipxe-4fe1e08a60df796a69435fb825629473dcac839e.zip
[pxe] Fix interoperability with the Symantec (undipd) DOS UNDI driver
The Symantec UNDI DOS driver fails when run on top of gPXE because we return our interface type as "gPXE" rather than one of the predefined NDIS interface type strings. Fix by returning the standard "DIX+802.3" string; this isn't necessarily always accurate, but it's highly unlikely that anything trying to use the UNDI API would understand our IPoIB link-layer pseudo-header anyway.
-rw-r--r--src/arch/i386/interface/pxe/pxe_undi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_undi.c b/src/arch/i386/interface/pxe/pxe_undi.c
index fd07f147..95267b65 100644
--- a/src/arch/i386/interface/pxe/pxe_undi.c
+++ b/src/arch/i386/interface/pxe/pxe_undi.c
@@ -532,7 +532,7 @@ PXENV_EXIT_t pxenv_undi_get_iface_info ( struct s_PXENV_UNDI_GET_IFACE_INFO
* Most PXE stacks seem to take this approach.
*/
snprintf ( ( char * ) undi_get_iface_info->IfaceType,
- sizeof ( undi_get_iface_info->IfaceType ), "gPXE" );
+ sizeof ( undi_get_iface_info->IfaceType ), "DIX+802.3" );
undi_get_iface_info->LinkSpeed = 10000000; /* 10 Mbps */
undi_get_iface_info->ServiceFlags =
( SUPPORTED_BROADCAST | SUPPORTED_MULTICAST |