APPENDIX
MI912 User’s Manual
63
//===========================================================================
//
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
//===========================================================================
#include "W627EHF.H"
#include <dos.h>
//===========================================================================
unsigned int W627EHF_BASE;
void Unlock_W627EHF (void);
void Lock_W627EHF (void);
//===========================================================================
unsigned int Init_W627EHF(void)
{
unsigned int result;
unsigned char ucDid;
W627EHF_BASE = 0x2E;
result = W627EHF_BASE;
ucDid = Get_W627EHF_Reg(0x20);
if (ucDid == 0x88)
{
goto Init_Finish;
}
W627EHF_BASE = 0x4E;
result = W627EHF_BASE;
ucDid = Get_W627EHF_Reg(0x20);
if (ucDid == 0x88)
{
goto Init_Finish;
}
W627EHF_BASE = 0x00;
result = W627EHF_BASE;
Init_Finish:
return (result);
}
//===========================================================================
void Unlock_W627EHF (void)
{
outportb(W627EHF_INDEX_PORT, W627EHF_UNLOCK);
outportb(W627EHF_INDEX_PORT, W627EHF_UNLOCK);
}
//===========================================================================
void Lock_W627EHF (void)
{
outportb(W627EHF_INDEX_PORT, W627EHF_LOCK);
}
//===========================================================================
void Set_W627EHF_LD( unsigned char LD)
{
Unlock_W627EHF();
outportb(W627EHF_INDEX_PORT, W627EHF_REG_LD);
outportb(W627EHF_DATA_PORT, LD);
Lock_W627EHF();
}
Summary of Contents for MI912
Page 1: ...MI912 Intel CoreTM 2 Duo Celeron GME965 Mini ITX Motherboard USER S MANUAL Version 1 0A...
Page 4: ...iv MI912 User s Manual This page is intentionally left blank...
Page 8: ...INTRODUCTION 4 MI912 User s Manual Board Dimensions...
Page 17: ...INSTALLATIONS MI912 User s Manual 13 Connector Locations on MI912...
Page 18: ...INSTALLATIONS 14 MI912 User s Manual MI912 Solder Side...
Page 52: ...BIOS SETUP 48 MI912 User s Manual This page is intentionally left blank...
Page 62: ...DRIVERS INSTALLATION 58 MI912 User s Manual This page is intentionally left blank...