SOURCES: grub-gcc4.patch - updated wrt PXE patch
baggins
baggins at pld-linux.org
Mon Jan 12 14:04:18 CET 2009
Author: baggins Date: Mon Jan 12 13:04:18 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated wrt PXE patch
---- Files affected:
SOURCES:
grub-gcc4.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/grub-gcc4.patch
diff -u SOURCES/grub-gcc4.patch:1.1 SOURCES/grub-gcc4.patch:1.2
--- SOURCES/grub-gcc4.patch:1.1 Sun Jun 12 16:33:40 2005
+++ SOURCES/grub-gcc4.patch Mon Jan 12 14:04:12 2009
@@ -1,37 +1,35 @@
---- grub-0.97/netboot/etherboot.h.orig 2003-07-09 13:45:37.000000000 +0200
-+++ grub-0.97/netboot/etherboot.h 2005-06-12 15:52:11.000000000 +0200
-@@ -531,9 +531,6 @@
- extern int network_ready;
- extern struct rom_info rom;
- extern struct arptable_t arptable[MAX_ARP];
--extern struct bootpd_t bootp_data;
--#define BOOTP_DATA_ADDR (&bootp_data)
--extern unsigned char *end_of_rfc1533;
-
- /* config.c */
- extern struct nic nic;
---- grub-0.97/netboot/main.c.orig 2004-05-21 00:19:33.000000000 +0200
-+++ grub-0.97/netboot/main.c 2005-06-12 15:52:45.000000000 +0200
-@@ -55,6 +55,7 @@
- static int vendorext_isvalid;
- static unsigned long netmask;
- static struct bootpd_t bootp_data;
-+#define BOOTP_DATA_ADDR (&bootp_data)
- static unsigned long xid;
- static unsigned char *end_of_rfc1533 = NULL;
-
--- grub-0.97/netboot/natsemi.c.orig 2003-07-09 13:45:38.000000000 +0200
+++ grub-0.97/netboot/natsemi.c 2005-06-12 15:55:59.000000000 +0200
@@ -608,7 +608,7 @@
const char *p) /* Packet */
{
- u32 status, to, nstype;
+ u32 to, nstype;
- u32 tx_status;
+ volatile u32 tx_status;
/* Stop the transmitter */
outl(TxOff, ioaddr + ChipCmd);
@@ -647,7 +647,7 @@
+
+ to = currticks() + TX_TIMEOUT;
+
+- while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to))
++ while (((tx_status = txd.cmdsts) & OWN) && (currticks() < to))
+ /* wait */ ;
+
+ if (currticks() >= to) {
+--- grub-0.97/netboot/sis900.c~ 2009-01-12 13:41:30.000000000 +0100
++++ grub-0.97/netboot/sis900.c 2009-01-12 13:42:51.000000000 +0100
+@@ -1081,7 +1081,7 @@
+ const char *p) /* Packet */
+ {
+ u32 to, nstype;
+- u32 tx_status;
++ volatile u32 tx_status;
+
+ /* Stop the transmitter */
+ outl(TxDIS | inl(ioaddr + cr), ioaddr + cr);
+@@ -1120,7 +1120,7 @@
to = currticks() + TX_TIMEOUT;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/grub-gcc4.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list