patch-2.3.8 linux/arch/alpha/kernel/core_cia.c
Next file: linux/arch/alpha/kernel/core_mcpcia.c
Previous file: linux/arch/alpha/kernel/alpha_ksyms.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Tue Jun 22 10:46:52 1999
- Orig file:
v2.3.7/linux/arch/alpha/kernel/core_cia.c
- Orig date:
Sun Sep 6 10:34:33 1998
diff -u --recursive --new-file v2.3.7/linux/arch/alpha/kernel/core_cia.c linux/arch/alpha/kernel/core_cia.c
@@ -598,7 +598,7 @@
{
CIA_jd = *(vuip)CIA_IOC_CIA_ERR;
DBGM(("CIA_pci_clr_err: CIA ERR after read 0x%x\n", CIA_jd));
- *(vuip)CIA_IOC_CIA_ERR = 0x0180;
+ *(vuip)CIA_IOC_CIA_ERR = CIA_jd;
mb();
return 0;
}
@@ -698,6 +698,10 @@
reason = buf;
break;
}
+ mb();
+ mb(); /* magic */
+ draina();
+ cia_pci_clr_err();
wrmces(rdmces()); /* reset machine check pending flag */
mb();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)