/* Pull PCA9532 GPIO #8 low to power off the machine.  */
static void n2100_power_off(void)
/* Pull PCA9532 GPIO #8 low to power off the machine.  */
static void n2100_power_off(void)
{
	local_irq_disable();
	*IOP3XX_IDBR0 = 0xc0;
	*IOP3XX_ICR0 = 0xe9;
	mdelay(1);
	*IOP3XX_IDBR0 = 0x08;
	*IOP3XX_ICR0 = 0xe8;
	mdelay(1);
	*IOP3XX_IDBR0 = 0x01;
	*IOP3XX_ICR0 = 0xea;
	while (1)
		;
}