![background image](http://html1.mh-extra.com/html/ibase-technology/et980-series/et980-series_user-manual_3226771069.webp)
Appendix
ET980 Series User’s Manual
63
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE.
//
//---------------------------------------------------------------------------
#include "F81804.H"
#include <dos.h>
//---------------------------------------------------------------------------
unsigned int F81804_BASE;
void Unlock_F81804 (void);
void Lock_F81804 (void);
//---------------------------------------------------------------------------
unsigned int Init_F81804(void)
{
unsigned int result;
unsigned char ucDid;
F81804_BASE = 0x4E;
result = F81804_BASE;
ucDid = Get_F81804_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81804
{
goto Init_Finish;
}
F81804_BASE = 0x2E;
result = F81804_BASE;
ucDid = Get_F81804_Reg(0x20);
if (ucDid == 0x07)
//Fintek 81804
{
goto Init_Finish;
}
F81804_BASE = 0x00;
result = F81804_BASE;
Init_Finish:
return (result);
}
//---------------------------------------------------------------------------
void Unlock_F81804 (void)
{
outportb(F81804_INDEX_PORT, F81804_UNLOCK);
outportb(F81804_INDEX_PORT, F81804_UNLOCK);
}
//---------------------------------------------------------------------------
void Lock_F81804 (void)
{
outportb(F81804_INDEX_PORT, F81804_LOCK);
}
//---------------------------------------------------------------------------
void Set_F81804_LD( unsigned char LD)
{
Unlock_F81804();
outportb(F81804_INDEX_PORT, F81804_REG_LD);
outportb(F81804_DATA_PORT, LD);
Lock_F81804();
}
//---------------------------------------------------------------------------
Summary of Contents for ET980 Series
Page 11: ...General Information ET980 Series User s Manual 5 1 1 5 Block Diagram...
Page 12: ...6 ET980 Series User s Manual 1 6 Board View Top View...
Page 14: ...8 ET980 Series User s Manual 1 7 Dimensions Unit mm...
Page 22: ...16 ET980 Series User s Manual This page is intentionally left blank...
Page 40: ...34 ET980 Series User s Manual This page is intentionally left blank...
Page 46: ...40 ET980 Series User s Manual 4 4 2 Power Performance...
Page 51: ...BIOS Setup ET980 Series User s Manual 45 4 4 4 6 F81966 Super IO Configuration...
Page 52: ...46 ET980 Series User s Manual 4 4 7 F81804SEC Super IO Configuration...
Page 55: ...BIOS Setup ET980 Series User s Manual 49 4 4 4 11 Network Stack Configuration...
Page 56: ...50 ET980 Series User s Manual 4 4 12 NVMe Configuration...
Page 58: ...52 ET980 Series User s Manual...
Page 59: ...BIOS Setup ET980 Series User s Manual 53 4 PCH IO Configuration...