//********************************************************************** //********************************************************************** //** ** //** (C)Copyright 1985-2013, American Megatrends, Inc. ** //** ** //** All Rights Reserved. ** //** ** //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** //** ** //** Phone: (770)-246-8600 ** //** ** //********************************************************************** //********************************************************************** // // // Name: // // Description: Define ACPI device for UART6. // // //********************************************************************** // Category # :0x14 //====================================================================== //Following commented line will be included in PciTree.asl //Device(UAR6) { // Name(_UID, 6) //Generic ID for COMF // Name(_HID, EISAID("PNP0501")) //PnP Device ID 16550 Type //====================================================================== Name(_DDN, "COM6") //RayWu, ADD 2014/12/10 Method(_STA, 0) {Return(^^SIO1.DSTA(0x14))} //Get UART status Method(_DIS, 0) {^^SIO1.DCNT(0x14, 0)} //Disable UART Method(_CRS, 0) {Return(^^SIO1.DCR3(0x14, 0))} //Get UART current resources Method(_SRS, 1) {^^SIO1.DSR3(Arg0, 0x14)} //Set UART resources //---------------------------------------------------------------------- // UART4 Possible Resources //---------------------------------------------------------------------- //NOTE: _PRS MUST be the NAME not a METHOD object //to have GENERICSIO.C working right! //---------------------------------------------------------------------- //RayWu, ADD 2014/12/05 >> Name(_PRS, ResourceTemplate() { StartDependentFn(0, 0) { IO(Decode16, 0x2C0, 0x2C0, 1, 8) IRQ(Level,ActiveLow,Shared) {11} } StartDependentFnNoPri() { IO(Decode16, 0x2D0, 0x2D0, 1, 8) IRQ(Level,ActiveLow,Shared) {11} } EndDependentFn() }) //RayWu, ADD 2014/12/05 << //RayWu, REMOVE 2014/12/05 >> // Name(_PRS, ResourceTemplate() { // StartDependentFn(0, 0) { // IO(Decode16, 0x2E0, 0x2E0, 1, 8) // IRQ(Level,ActiveLow,Shared) {7} // DMA(Compatibility, NotBusMaster, Transfer8) {} // } // StartDependentFnNoPri() { // IO(Decode16, 0x3E8, 0x3E8, 1, 8) // IRQ(Level,ActiveLow,Shared) {3,4,5,6,7,10,11,12} // DMA(Compatibility, NotBusMaster, Transfer8) {} // } // StartDependentFnNoPri() { // IO(Decode16, 0x2E8, 0x2E8, 1, 8) // IRQ(Level,ActiveLow,Shared) {3,4,5,6,7,10,11,12} // DMA(Compatibility, NotBusMaster, Transfer8) {} // } // StartDependentFnNoPri() { // IO(Decode16, 0x2F0, 0x2F0, 1, 8) // IRQ(Level,ActiveLow,Shared) {3,4,5,6,7,10,11,12} // DMA(Compatibility, NotBusMaster, Transfer8) {} // } // StartDependentFnNoPri() { // IO(Decode16, 0x2E0, 0x2E0, 1, 8) // IRQ(Level,ActiveLow,Shared) {3,4,5,6,7,10,11,12} // DMA(Compatibility, NotBusMaster, Transfer8) {} // } // EndDependentFn() // }) //RayWu, REMOVE 2014/12/05 << //====================================================================== //Following commented line will be included in PciTree.asl // }// End Of UAR6 //====================================================================== //********************************************************************** //********************************************************************** //** ** //** (C)Copyright 1985-2013, American Megatrends, Inc. ** //** ** //** All Rights Reserved. ** //** ** //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** //** ** //** Phone: (770)-246-8600 ** //** ** //********************************************************************** //**********************************************************************