84 lines
4.3 KiB
Plaintext
84 lines
4.3 KiB
Plaintext
//**********************************************************************
|
|
//**********************************************************************
|
|
//** **
|
|
//** (C)Copyright 1985-2013, American Megatrends, Inc. **
|
|
//** **
|
|
//** All Rights Reserved. **
|
|
//** **
|
|
//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
|
|
//** **
|
|
//** Phone: (770)-246-8600 **
|
|
//** **
|
|
//**********************************************************************
|
|
//**********************************************************************
|
|
//<AMI_FHDR_START>
|
|
//
|
|
// Name: <UART6.asl>
|
|
//
|
|
// Description: Define ACPI device for UART6.
|
|
//
|
|
//<AMI_FHDR_END>
|
|
//**********************************************************************
|
|
// 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
|
|
//======================================================================
|
|
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!
|
|
//----------------------------------------------------------------------
|
|
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()
|
|
})
|
|
//======================================================================
|
|
//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 **
|
|
//** **
|
|
//**********************************************************************
|
|
//**********************************************************************
|