mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-16 07:47:12 -04:00
23 lines
727 B
Plaintext
23 lines
727 B
Plaintext
$NetBSD: patch-al,v 1.3 2007/06/25 13:05:57 tron Exp $
|
|
|
|
--- /build/pkg_comp/default/pkg_comp/obj/pkgsrc/sysutils/grub/default/grub-0.97/netboot/sis900.c 2003-07-09 13:45:38.000000000 +0200
|
|
+++ netboot/sis900.c 2007-06-24 18:15:38.000000000 +0200
|
|
@@ -901,7 +901,7 @@
|
|
const char *p) /* Packet */
|
|
{
|
|
u32 status, to, nstype;
|
|
- u32 tx_status;
|
|
+ volatile u32 tx_status;
|
|
|
|
/* Stop the transmitter */
|
|
outl(TxDIS, ioaddr + cr);
|
|
@@ -940,7 +940,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) {
|