Subject: rfc: patch fixes pxeboot on soekris
To: None <port-i386@netbsd.org>
From: David Young <dyoung@pobox.com>
List: port-i386
Date: 10/20/2005 23:43:22
--eJnRUKwClWJh1Khz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I have attached a patch that fixes PXE-booting on Soekris boxen, which
hang at pxe_call(PXENV_UNLOAD_STACK).  If this patch will not adversely
affect PXE-booting on other systems, I will check it in.

Dave

-- 
David Young             OJC Technologies
dyoung@ojctech.com      Urbana, IL * (217) 278-3933

--eJnRUKwClWJh1Khz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=pxeboot-bugfix-patch

Index: pxeboot/pxe.c
===================================================================
RCS file: /cvsroot/src/sys/arch/i386/stand/pxeboot/pxe.c,v
retrieving revision 1.7
diff -u -u -r1.7 pxe.c
--- pxeboot/pxe.c	14 Jun 2005 18:25:16 -0000	1.7
+++ pxeboot/pxe.c	14 Oct 2005 00:37:28 -0000
@@ -446,8 +446,6 @@
 		printf("pxe_fini: PXENV_UNDI_SHUTDOWN failed: 0x%x\n",
 		    shutdown->Status);
 
-	pxe_call(PXENV_UNLOAD_STACK);
-
 	if (unload->Status != PXENV_STATUS_SUCCESS)
 		printf("pxe_fini: PXENV_UNLOAD_STACK failed: 0x%x\n",
 		    unload->Status);

--eJnRUKwClWJh1Khz--