[coreboot] [v2] r4405 - trunk/coreboot-v2/src/mainboard/gigabyte/m57sli
svn at coreboot.org
svn at coreboot.org
Tue Jul 7 18:15:43 CEST 2009
Author: hargut
Date: 2009-07-07 18:15:43 +0200 (Tue, 07 Jul 2009)
New Revision: 4405
Modified:
trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/dsdt.asl
Log:
ChangeLog:
Change the parallel port from polling to interrupt-driven.
This was tested by Andreas Mundt with a parallel port printer.
Signed-off-by: Harald Gutmann <harald.gutmann at gmx.net>
Acked-by: Andreas B. Mundt <andi.mundt at web.de>
Modified: trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/dsdt.asl
===================================================================
--- trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/dsdt.asl 2009-07-07 15:10:13 UTC (rev 4404)
+++ trunk/coreboot-v2/src/mainboard/gigabyte/m57sli/dsdt.asl 2009-07-07 16:15:43 UTC (rev 4405)
@@ -214,12 +214,12 @@
}
Method (_CRS, 0, NotSerialized)
{
- Name (TMP, ResourceTemplate () {
+ Name (TMP0, ResourceTemplate () {
IO (Decode16, 0x0060, 0x0060, 0x01, 0x01)
IO (Decode16, 0x0064, 0x0064, 0x01, 0x01)
IRQNoFlags () {1}
})
- Return (TMP)
+ Return (TMP0)
}
}
@@ -233,12 +233,12 @@
}
Method (_CRS, 0, NotSerialized)
{
- Name (TMP, ResourceTemplate () {
+ Name (TMP1, ResourceTemplate () {
IO (Decode16, 0x0060, 0x0060, 0x01, 0x01)
IO (Decode16, 0x0064, 0x0064, 0x01, 0x01)
IRQNoFlags () {12}
})
- Return (TMP)
+ Return (TMP1)
}
}
@@ -254,13 +254,49 @@
{
Name (BUF0, ResourceTemplate () {
IO (Decode16, 0x03F0, 0x03F0, 0x01, 0x06)
- IO (Decode16, 0x03F7, 0x03F7, 0x00, 0x01)
+ IO (Decode16, 0x03F7, 0x03F7, 0x01, 0x01)
IRQNoFlags () {6}
DMA (Compatibility, NotBusMaster, Transfer8) {2}
})
Return (BUF0)
}
}
+ /* Parallel Port */
+ Device (LPT1)
+ {
+ Name (_HID, EisaId ("PNP0400"))
+ Method (_STA, 0, NotSerialized)
+ {
+ Return (0x0f)
+ }
+ Method (_CRS, 0, NotSerialized)
+ {
+ Name (BUF1, ResourceTemplate () {
+ IO (Decode16, 0x0378, 0x0378, 0x01, 0x08)
+ IRQNoFlags () {7}
+ })
+ Return (BUF1)
+ }
+ }
+ /* Parallel Port ECP */
+ Device (ECP1)
+ {
+ Name (_HID, EisaId ("PNP0401"))
+ Method (_STA, 0, NotSerialized)
+ {
+ Return (0x0f)
+ }
+ Method (_CRS, 0, NotSerialized)
+ {
+ Name (BUF1, ResourceTemplate () {
+ IO (Decode16, 0x0378, 0x0378, 0x01, 0x04)
+ IO (Decode16, 0x0778, 0x0778, 0x01, 0x04)
+ IRQNoFlags() {7}
+ DMA (Compatibility, NotBusMaster, Transfer8) {0,1,3}
+ })
+ Return (BUF1)
+ }
+ }
}
}
}
More information about the coreboot
mailing list