beautypg.com

AAEON FWS-7810 User Manual

Page 83

background image

N e t w o r k Ap p l i a n c e

F W S - 7 8 1 0

Appendix A Programming the Watchdog Timer

A-6

************************************************************************************
VOID

SIOEnterMBPnPMode()

{

Switch(SIOIndex){

Case 0x2E:

IOWriteByte(SIOIndex, 0x87);

IOWriteByte(SIOIndex, 0x01);

IOWriteByte(SIOIndex, 0x55);
IOWriteByte(SIOIndex, 0x55);
Break;

Case 0x4E:

IOWriteByte(SIOIndex, 0x87);

IOWriteByte(SIOIndex, 0x01);

IOWriteByte(SIOIndex, 0x55);
IOWriteByte(SIOIndex, 0xAA);

Break;

}

}

VOID

SIOExitMBPnPMode()

{

IOWriteByte(SIOIndex, 0x02);

IOWriteByte(SIOData, 0x02);

}

VOID

SIOSelectLDN(byte LDN)

{

IOWriteByte(SIOIndex, 0x07);

// SIO LDN Register Offset = 0x07

IOWriteByte(SIOData, LDN);

}
************************************************************************************