/* This function will send a SHUTDOWN_COMPLETE message to the PIC controller over I2C. We are not using the i2c subsystem since we are going to power off and it may be removed  */
void ep80219_power_off(void)
/* This function will send a SHUTDOWN_COMPLETE message to the PIC controller over I2C. We are not using the i2c subsystem since we are going to power off and it may be removed  */
void ep80219_power_off(void)
{
	*IOP3XX_IDBR1 = 0x60;
	*IOP3XX_ICR1 = 0xE9;
	mdelay(1);
	*IOP3XX_IDBR1 = 0x0F;
	*IOP3XX_ICR1 = 0xE8;
	mdelay(1);
	*IOP3XX_IDBR1 = 0x03;
	*IOP3XX_ICR1 = 0xE8;
	mdelay(1);
	*IOP3XX_IDBR1 = 0x00;
	*IOP3XX_ICR1 = 0xEA;
	while (1)
		;
}