MSI Keeper 945GM By Pass Function, Set High sample code Assembly, Set High sample code C Language

Page 29

 

 

Hardware Setup

By Pass Function:

 

 

LAN Bypass

Normal

GPIO38

"High"

"Low"

GPIO39

"High"

"Low"

LAN Bypass function is controlled by GPIO 38 and 39.

For LAN Bypass Group 1 (LAN1 & LAN2), it is defined by GPIO38, set “High” to enable and set “Low” to disable.

For LAN Bypass Group 2 (LAN3 & LAN4), it is defined by GPIO39, set “High¨ to enable and set “Low” to disable.

Set “High” sample code (Assembly):

 

mov

dx,GPIO_Port + 38h

;GPIO_Port is 480h

in

al,dx

 

newiodelay

 

or

al,11000000b

;GPIO 38, 39 pull high to enable

out

dx,al

 

Set “High” sample code (C Language):

//Set High

 

unsigned char

dataIn;

unsigned char

dataOut;

dataIn = inportb(0x480+0x38); dataIn = 0xc0; outportb(dataIn, 0x480+0x38);

LAN5, LAN6 have no by pass function.

2-17

 

Image 29
Contents G52-96411x1 MS-9641 V1.X MainboardTrademarks Copyright NoticeRevision History Technical SupportSafety Instructions FCC-B Radio Frequency Interference Statement Micro-Star International MS-9641Weee Waste Electrical and Electronic Equipment Statement Page Vii Contents Getting Started Getting StartedFSB Mainboard SpecificationsLAN IDEAccessory Getting Started Watch Dog TimerForm Factor MountingMS-9641 v1.X Micro-ATX Mainboard Mainboard LayoutHardware Setup Hardware SetupQuick Components Guide CPU Central Processing Unit CPU & Cooler Set Installation Hardware Setup DDR2 MemoryMemory Population Rules Installing Memory Modules ATX 24-Pin Power Connector ATX1 Power SupplyATX 12V Power Connector JPW0 ATX1Front Panel Serial Port ConnectorUSB Connectors LED MS-9641 Mainboard LAN RJ-45 JackHard Disk Connector IDEB0 ConnectorsCompact Flash Card Slot CF0 IDEB0SATA4 SATA3 SATA2 SATA1 Serial Ataii Connectors SATA1~SATA4Front Panel Connectors JFP1 Fan Power Connectors CPUFAN0, SYSFAN1, AUXFAN0CPUFAN0 SYSFAN1 AUXFAN0 JFP1USB 2.0 Bracket Front USB Connector FUSB2FUSB2 Serial Port Connector COM0 SMBus Connector SmbusSmbus COM0Lanled LanledSet High sample code C Language Set High sample code AssemblyBy Pass Function Watch Dog Function MS-9641 Mainboard Set Low sample code AssemblySet Low sample code C Language DX,AL and AL,0F7H OUT DX,AL Clear Cmos Jumper CLRCMOS0 JumpersJcfsel AT/ATX Power Select Jumper J5Golden Finger SlotsPCI Peripheral Component Interconnect Slots TOP View B94 Bottom View A94Bios Setup Bios SetupPress F2 to enter Setup Entering SetupGetting Help Control KeysGeneral Help F1 Main MenuMenu Bar Date mmddyy MainTime hhmmss IDE Channel 0 Master/Slave, IDE Channel 1 Master/SlaveCapacity Access M odeCylinder HeadCPU L3 Cache Advanced Bios Features Virus WarningAdvanced Apic Mode Quick Power On Self TestHyper-Threading Technology MPS Version Control For OSAgent after boot Bios Setup Console RedirectionFlow Control Baud RatePrecharge Delay tRAS Dram RAS# to CAS# DelayCAS Latency Time Dram RAS# PrechargeBoot Display Bios Setup VGA SettingPEG/Onchip VGA Control PEG ForceOn-Chip Primary/Secondary PCI IDE IDE DMA Transfer AccessOn-Chip Serial ATA Setting Sata Mode Bios Setup IDE Primary/Secondary Master/Slave PIOSata Port Speed Settings Pata IDE Mode / Sata PortUSB Keyboard/ Mouse Support MS-9641 Mainboard Onboard Device LAN ByPassUSB Controller, USB 2.0 Controller Uart Mode Select Bios Setup Super IO Device Onboard Serial Port 1IR Transmission Delay UR2 Duplex ModePower Management Setup Power Type Watch Dog Timer MinutesMS-9641 Mainboard Watch Dog Action PCI Express PMEDate of Month Alarm Resume by AlarmTime hhmmss Alarm Boot Up NumLock StatusMS-9641 Mainboard Spread Spectrum Removable Device Priority BootCD-ROM This setting Refer to Boot Priority MS-9641 Mainboard Hard Disk Boot PriorityFirst / Second / Third Boot Device Boot Other DeviceSet User Password Set Supervisor PasswordSecurity Security OptionHalt On SystemSystem Summary PC Health Smart Fan SettingSmart SYSFan1 / CPUFan1 / SYSFan2 Temperature Page Load Optimized Defaults Load Fail-Safe DefaultsSave & Exit Setup Exit