patch-2.4.22 linux-2.4.22/arch/mips/hp-lj/gdb_hook.c
Next file: linux-2.4.22/arch/mips/hp-lj/init.c
Previous file: linux-2.4.22/arch/mips/hp-lj/asic.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-08-25 04:44:40.000000000 -0700
- Orig file:
linux-2.4.21/arch/mips/hp-lj/gdb_hook.c
- Orig date:
2002-08-02 17:39:43.000000000 -0700
diff -urN linux-2.4.21/arch/mips/hp-lj/gdb_hook.c linux-2.4.22/arch/mips/hp-lj/gdb_hook.c
@@ -77,7 +77,7 @@
while (((SERIAL_REG(HPSR_TX_STAT_OFFSET) & HPSR_TX_STAT_READY) == 0))
;
SERIAL_REG(HPSR_DATA_OFFSET) = (unsigned int) c;
- }
+ }
return 1;
}
@@ -87,7 +87,7 @@
while (!(((H_HPSR_STAT) & H_SER_STAT_RX_EMPTY) == 0));
return H_HPSR_DATA_RX;
-
+
} else if (GetAsicId() == AndrosAsic) {
while ((SERIAL_REG(HPSR_RX_STAT_OFFSET) & HPSR_RX_DATA_AVAIL) == 0)
;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)