Appendix
MI997AF User’s Manual
85
// 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 "F81964.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81964_BASE;
void Unlock_F81964 (void);
void Lock_F81964 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81964(void)
{
unsigned int result;
unsigned char ucDid;
F81964_BASE = 0x4E;
result = F81964_BASE;
ucDid = Get_F81964_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81964
{
goto Init_Finish;
}
F81964_BASE = 0x2E;
result = F81964_BASE;
ucDid = Get_F81964_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81964
{ goto
Init_Finish; }
F81964_BASE = 0x00;
result = F81964_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81964 (void)
{
outportb(F81964_INDEX_PORT, F81964_UNLOCK);
outportb(F81964_INDEX_PORT, F81964_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81964 (void)
{
outportb(F81964_INDEX_PORT, F81964_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81964_LD( unsigned char LD)
{
Unlock_F81964();
outportb(F81964_INDEX_PORT, F81964_REG_LD);
outportb(F81964_DATA_PORT, LD);
Lock_F81964();
}
Summary of Contents for MI997AF
Page 9: ...MI997AF User s Manual ix This page is intentionally left blank...
Page 10: ......
Page 16: ...6 MI997AF User s Manual 1 6 Block Diagram...
Page 17: ...General Information MI997AF User s Manual 7 1 1 7 Product View Top View...
Page 18: ...8 MI997AF User s Manual Bottom View...
Page 20: ...10 MI997AF User s Manual 1 8 Board Dimensions...
Page 24: ...14 MI997AF User s Manual 2 3 Jumper Connector Locations...
Page 25: ...Hardware Configuration MI997AF User s Manual 15 2...
Page 34: ...24 MI997AF User s Manual 2 5 2 DisplayPort HDMI Port CN2 2 5 3 USB 3 2 Connector CN3...
Page 49: ...Hardware Configuration MI997AF User s Manual 39 2 2 5 27 PCIe x1 Slot PCIE1...
Page 50: ...40 MI997AF User s Manual This page is intentionally left blank...
Page 69: ...BIOS Setup MI997AF User s Manual 59 4 4 4 4 PCH FW Configuration...
Page 76: ...66 MI997AF User s Manual 4 4 10 AMI Graphic Output Protocol Policy...
Page 79: ...BIOS Setup MI997AF User s Manual 69 4 4 4 13 NVMe Configuration...
Page 87: ...BIOS Setup MI997AF User s Manual 77 4 4 9 MEBx...
Page 88: ...78 MI997AF User s Manual This page is intentionally left blank...