Author: blueswirl Date: 2008-07-05 18:57:17 +0200 (Sat, 05 Jul 2008) New Revision: 187
Modified: openbios-devel/arch/sparc32/romvec.c openbios-devel/drivers/obio.c Log: Fix NetBSD reset problem
Modified: openbios-devel/arch/sparc32/romvec.c =================================================================== --- openbios-devel/arch/sparc32/romvec.c 2008-04-24 15:26:13 UTC (rev 186) +++ openbios-devel/arch/sparc32/romvec.c 2008-07-05 16:57:17 UTC (rev 187) @@ -254,7 +254,7 @@
static void obp_reboot(char *str) { - extern volatile unsigned char *reset_reg; + extern volatile unsigned int *reset_reg;
printk("rebooting (%s)\n", str); *reset_reg = 1;
Modified: openbios-devel/drivers/obio.c =================================================================== --- openbios-devel/drivers/obio.c 2008-04-24 15:26:13 UTC (rev 186) +++ openbios-devel/drivers/obio.c 2008-07-05 16:57:17 UTC (rev 187) @@ -1040,7 +1040,8 @@ fword("finish-device"); }
-volatile unsigned char *power_reg, *reset_reg; +volatile unsigned char *power_reg; +volatile unsigned int *reset_reg;
static void sparc32_reset_all(void)