APPENDIX
IB970 User’s Manual
73
//---------------------------------------------------------------------------
//
// 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 "F81866.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81866_BASE;
void Unlock_F81866 (void);
void Lock_F81866 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81866(void)
{
unsigned int result;
unsigned char ucDid;
F81866_BASE = 0x4E;
result = F81866_BASE;
ucDid = Get_F81866_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81866
{
goto Init_Finish;
}
F81866_BASE = 0x2E;
result = F81866_BASE;
ucDid = Get_F81866_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81866
{
goto Init_Finish;
}
F81866_BASE = 0x00;
result = F81866_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81866 (void)
{
outportb(F81866_INDEX_PORT, F81866_UNLOCK);
outportb(F81866_INDEX_PORT, F81866_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81866 (void)
{
outportb(F81866_INDEX_PORT, F81866_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81866_LD( unsigned char LD)
{
Unlock_F81866();
outportb(F81866_INDEX_PORT, F81866_REG_LD);
outportb(F81866_DATA_PORT, LD);
Lock_F81866();
}
//---------------------------------------------------------------------------
void Set_F81866_Reg( unsigned char REG, unsigned char DATA)
{
Unlock_F81866();
outportb(F81866_INDEX_PORT, REG);
outportb(F81866_DATA_PORT, DATA);
Lock_F81866();
}
//---------------------------------------------------------------------------
Summary of Contents for IB970
Page 1: ...IB970 3rd Gen Intel CoreTM i7 i5 B75 PCH Full Size CPU Card USER S MANUAL Version 1 0 ...
Page 4: ...iv IB970 User s Manual This page is intentionally left blank ...
Page 9: ...INTRODUCTION IB970 User s Manual 5 Board Dimensions ...
Page 14: ...INSTALLATIONS 10 IB970 User s Manual Jumper Locations on IB970 ...
Page 19: ...INSTALLATIONS IB970 User s Manual 15 Connector Locations on IB970 ...
Page 26: ...INSTALLATIONS 22 IB970 User s Manual This page is intentionally left blank ...
Page 52: ...BIOS SETUP 48 IB970 User s Manual This page is intentionally left blank ...
Page 72: ...DRIVER INSTALLATION 68 IB970 User s Manual This page is intentionally left blank ...