Intel 2804080, Duo/Solo 945GM user manual OutportbW627EHFINDEXPORT, W627EHFLOCK

Page 67

APPENDIX

//===========================================================================

//

//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();

}

2804080 User’s Manual

63

Image 67
Contents Version USER’S ManualAcknowledgments Table of Contents 2804080 Mini ITX Motherboard Product Description IntroductionChecklist LPC I/O SpecificationsBoard Dimensions Installations Installing the CPU Installing and Removing Memory Modules Installing the MemorySetting the Jumpers Jumper Locations on JP8 CompactFlash Slave/Master Selection JP5 LCD Panel Power SelectionJP7 Clear Cmos Setting JP6 1394 Eprom Write SelectionConnectors on Connector Locations on CN2, CN3 COM1 and VGA Connector CN1 PS/2 Keyboard and PS/2 Mouse ConnectorsFAN2 CPU Fan Power Connector FDD1 Floppy Drive Connector IDE1 IDE ConnectorJ1 IrDA Connector J14 ATX Power Supply ConnectorJ2 Digital I/O Speaker Pins 1 J3 System Function ConnectorReset Switch Pins 9 J6 USB5/6 Port Pin Header J8 Wake On LAN ConnectorJ7 COM2 Serial Port J11 LCD Backlight Connector J18 PCI-Ex1 Slot J19 CD-In Pin Header J16 1394 ConnectorJ17 Front Audio Connector J20 Compact Flash Connector PCI1 PCI Slot supports 2 MasterCON1 Sdvo Port Connector Signal Name Pin # TX0 TX0+ Headers and Connectors on 2804080 Daughter CardsRED ID391 ‒ J2 DVI Connector This page is intentionally left blank Bios Setup Bios Setup Bios IntroductionPhoenix AwardBIOS Cmos Setup Utility Date Standard Cmos SetupIDE Channel Master/Slave TimeDrive a / Drive B Halt On VideoVirus Warning Advanced Bios FeaturesCPU Feature Hard Disk Boot PriorityBoot Up Floppy Seek Quick Power On Self TestFirst/Second/Third Boot Device Boot Other DeviceMPS Version Control for OS Typematic Delay MsecApic Mode Security OptionCAS Latency Time Advanced Chipset FeaturesDram RAS# to CAS# Delay Dram Timing SelectableOn-Chip VGA Setting Precharge Delay tRASSystem Bios Cacheable Video Bios CacheableLAN PXE Option ROM Panel ScalingPanel Number Onboard PCI-E LANOnChip IDE Device Integrated PeripheralsIDE Primary/Secondary Master/Slave PIO IDE HDD Block ModeOn-chip Primary PCI IDE Enabled OnChip Primary/Secondary PCI IDEHot Key Power on On-Chip Serial ATA SettingPower on Function KB Power on PasswordOnboard Serial Port Uart Mode SelectPwron After PWR-Fail Acpi Function Power Management SetupRUN Vgabios if S3 Resume Power ManagementVideo Off Method Suspend ModeHDD Power Down Power On by RingReload Global Timer Events Resume by AlarmPNP/PCI Configurations PC Health Status Auto Detect PCI Clk Frequency/Voltage ControlSpread Spectrum Modulated Save & Exit Setup Load Fail-Safe DefaultsLoad Optimized Defaults Set Supervisor PasswordThis page is intentionally left blank Drivers Installation Click IntelR Chipset Software Installation Utility Intel Chipset Software Installation UtilityDrivers Installation Click IntelR I945GMChipset Family Graphics Driver VGA Drivers InstallationImportant Note Click Realtek AC97 Codec Audio Driver AC97 Codec Audio Driver InstallationClick Install Base Software to continue LAN Drivers InstallationDriver Installation O Port Address Map AppendixFunction Interrupt Request Lines IRQSample Code Watchdog Timer ConfigurationSetW627EHFLD0x08 OutportbW627EHFINDEXPORT, W627EHFLOCK W627EHFINDEXPORT W627EHFBASE Global American Inc