summaryrefslogtreecommitdiff
path: root/net/etherboot/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'net/etherboot/files/patch-ab')
-rw-r--r--net/etherboot/files/patch-ab36
1 files changed, 18 insertions, 18 deletions
diff --git a/net/etherboot/files/patch-ab b/net/etherboot/files/patch-ab
index 328288314780..719016ea8870 100644
--- a/net/etherboot/files/patch-ab
+++ b/net/etherboot/files/patch-ab
@@ -1,19 +1,19 @@
-*** Config.orig Mon May 15 10:15:18 2000
---- Config Mon May 15 10:16:04 2000
+*** main.c.orig Sun Oct 22 10:07:25 2000
+--- main.c Sun Oct 22 10:07:58 2000
***************
-*** 143,149 ****
- # CFLAGS32+= -DCONSOLE_DUAL -DCOMCONSOLE=0x3f8 -DCONSPEED=9600
-
- # Enable generic ELF, Multiboot ELF or FreeBSD ELF/a.out boot image support
-! # CFLAGS32+= -DELF_IMAGE -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD
-
- # Change download protocol to NFS. Only available for Etherboot/32 for now.
- # CFLAGS32+= -DDOWNLOAD_PROTO_NFS
---- 143,149 ----
- # CFLAGS32+= -DCONSOLE_DUAL -DCOMCONSOLE=0x3f8 -DCONSPEED=9600
-
- # Enable generic ELF, Multiboot ELF or FreeBSD ELF/a.out boot image support
-! CFLAGS32+= -DELF_IMAGE -DAOUT_IMAGE -DIMAGE_MULTIBOOT -DIMAGE_FREEBSD
-
- # Change download protocol to NFS. Only available for Etherboot/32 for now.
- # CFLAGS32+= -DDOWNLOAD_PROTO_NFS
+*** 940,946 ****
+ memset(motd, 0, sizeof(motd));
+ #endif
+ end_of_rfc1533 = NULL;
+! vendorext_isvalid = 0;
+ if (memcmp(p, rfc1533_cookie, 4))
+ return(0); /* no RFC 1533 header found */
+ p += 4;
+--- 940,946 ----
+ memset(motd, 0, sizeof(motd));
+ #endif
+ end_of_rfc1533 = NULL;
+! vendorext_isvalid = 1; /* FreeBSD uses this field for swap */
+ if (memcmp(p, rfc1533_cookie, 4))
+ return(0); /* no RFC 1533 header found */
+ p += 4;