APPENDIX
72
MB945 User’s Manual
ucDid = Get_W627DHG_Reg(0x20);
if (ucDid == 0xA0)
{
goto
Init_Finish;
}
else if (ucDid == 0xB0)
//W83627DHG-P??
{
goto
Init_Finish;
}
W627DHG_BASE = 0x2E;
result = W627DHG_BASE;
ucDid = Get_W627DHG_Reg(0x20);
if (ucDid == 0xA0)
{
goto
Init_Finish;
}
else if (ucDid == 0xB0)
//W83627DHG-P??
{
goto
Init_Finish;
}
W627DHG_BASE = 0x00;
result = W627DHG_BASE;
Init_Finish:
return
(result);
}
//---------------------------------------------------------------------------
void Unlock_W627DHG (void)
{
outportb(W627DHG_INDEX_PORT,
W627DHG_UNLOCK);
outportb(W627DHG_INDEX_PORT,
W627DHG_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_W627DHG (void)
{
outportb(W627DHG_INDEX_PORT,
W627DHG_LOCK);
}
//---------------------------------------------------------------------------
void Set_W627DHG_LD( unsigned char LD)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT,
W627DHG_REG_LD);
outportb(W627DHG_DATA_PORT,
LD);
Lock_W627DHG();
}
//---------------------------------------------------------------------------
void Set_W627DHG_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT,
REG);
outportb(W627DHG_DATA_PORT,
DATA);
Lock_W627DHG();
}
//---------------------------------------------------------------------------
unsigned char Get_W627DHG_Reg(unsigned char REG)
{
unsigned char Result;
Unlock_W627DHG();
outportb(W627DHG_INDEX_PORT,
REG);
Result = inportb(W627DHG_DATA_PORT);
Lock_W627DHG();
return
Result;
}
//---------------------------------------------------------------------------
Summary of Contents for MB945
Page 1: ...MB945 Socket LGA775 Intel Q45 Chipset Industrial Motherboard USER S MANUAL Version 1 0B...
Page 8: ...INTRODUCTION Board Dimensions 4 MB945 User s Manual...
Page 30: ...INSTALLATIONS 26 MB945 User s Manual This page is intentionally left blank...
Page 38: ...BIOS SETUP 34 MB945 User s Manual...
Page 69: ...DRIVERS INSTALLATION 8 After Setup is complete click Exit MB945 User s Manual 65...
Page 71: ...DRIVERS INSTALLATION MB945 User s Manual 67 This page is intentionally left blank...
Page 77: ...APPENDIX MB945 User s Manual 73 This page is intentionally left blank...