diff options
author | raywu <raywu@aaeon.com> | 2018-06-15 10:48:05 +0800 |
---|---|---|
committer | raywu <raywu@aaeon.com> | 2018-06-15 10:48:05 +0800 |
commit | a2303a031a4a69b505a704b6e716a81c8e70cb21 (patch) | |
tree | 0c972eb763d109968cba6e4e5c88d16bb4347640 /Board/IO/F81866/ACPI/PS2kb.asl | |
parent | 72754fac5c1d3154722de813afe19015d21fa34a (diff) | |
download | zprj-a2303a031a4a69b505a704b6e716a81c8e70cb21.tar.xz |
Add Modules
1 > 4.6.3.5_SIO_F81866_A5
2 > 4.6.3_SIO_F81216_Sec_A9
Diffstat (limited to 'Board/IO/F81866/ACPI/PS2kb.asl')
-rw-r--r-- | Board/IO/F81866/ACPI/PS2kb.asl | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/Board/IO/F81866/ACPI/PS2kb.asl b/Board/IO/F81866/ACPI/PS2kb.asl new file mode 100644 index 0000000..b809fc4 --- /dev/null +++ b/Board/IO/F81866/ACPI/PS2kb.asl @@ -0,0 +1,112 @@ +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2011, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//************************************************************************* +// +//************************************************************************* +// $Header: /Alaska/BIN/IO/Fintek/F81866/F81866 Device ASL Files/PS2kb.asl 1 7/20/11 4:22a Kasalinyi $ +// +// $Revision: 1 $ +// +// $Date: 7/20/11 4:22a $ +//************************************************************************* +// Revision History +// ---------------- +// $Log: /Alaska/BIN/IO/Fintek/F81866/F81866 Device ASL Files/PS2kb.asl $ +// +// 1 7/20/11 4:22a Kasalinyi +// [Category] Improvement +// [Description] Initial Porting +// [Files] DeviceASL.cif +// FDC.ASL +// LPTE.ASL +// PS2kb.asl +// PS2ms.asl +// Uart1.ASL +// Uart2.ASL +// Uart3.ASL +// Uart4.ASL +// Uart5.ASL +// Uart6.ASL +// SIOH.ASL +// +// 2 3/21/11 9:43p Mikes +// Clean code +// +//************************************************************************* +//<AMI_FHDR_START> +// +// Name: <PS2kb.ASL> +// +// Description: Define ACPI method or namespce For Super IO +// +//<AMI_FHDR_END> +//************************************************************************* + +//**********************************************************************; +// PS2 Keyboard Device, IO category # - 10 +//--------------------------------------------------------------------- + + +Device(PS2K) { + Name(_HID,EISAID("PNP0303")) // Standard Keyboard 101/102 + Name(_CID,EISAID("PNP030b")) // Compatible ID, PC/AT Enhanced Keyboard 101/102 + Method(_STA,0) { + If(And(\IOST, 0x0400)){ + Return (0x0F) + } else { + Return (0x00) + } + } + + Name(_CRS,ResourceTemplate() + { + IO(Decode16, 0x60, 0x60, 0, 0x1) //PS2 resource + IO(Decode16, 0x64, 0x64, 0, 0x1) + IRQNoFlags(){1} + }) + +//----------------------------------------------------------------------- +//NOTE: _PRS MUST be the NAME not a METHOD object +//to have GENERICSIO.C working right! +//----------------------------------------------------------------------- + Name(_PRS, ResourceTemplate(){ + StartDependentFn(0, 0) { + FixedIO(0x60,0x01) + FixedIO(0x64,0x01) + IRQNoFlags(){1} + } + EndDependentFn() + }) + + // Keyboard 2nd Level wake up control method + Method(_PSW, 1){ + Store(Arg0, \KBFG) + } +}// End of PS2K + +Scope(\){ + Name(\KBFG, 0x01) //Keyboard wake-up flag default enable +} +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2011, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//************************************************************************* |