summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristoph Grenz <christophg+cb@grenz-bonn.de>2013-07-04 02:51:42 +0200
committerRonald G. Minnich <rminnich@gmail.com>2013-07-10 02:54:01 +0200
commit2cccacff900908a76a1e2d9016a46283490e06f5 (patch)
tree1cc3417a65cf3af7dabf2f4d734f96bad909e0bc /src
parentb98dec032f0d8ee158e606bceef9766a905ad503 (diff)
downloadcoreboot-2cccacff900908a76a1e2d9016a46283490e06f5.tar.xz
w83627hf/acpi: Fix endianess error in floppy drive enumeration code
The enumeration results are stored as five DWORDs in one 20 byte buffer. Bytes 3, 7, 11 and 15 were used to set the lowest bit of each DWORD. ACPI uses little endian, so 1, 4, 8 and 12 are the correct indices. Change-Id: I793225cb1bb62fd148ecfa1e61e02f5d7be62cdb Signed-off-by: Christoph Grenz <christophg+cb@grenz-bonn.de> Reviewed-on: http://review.coreboot.org/3602 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/superio/winbond/w83627hf/acpi/superio.asl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/superio/winbond/w83627hf/acpi/superio.asl b/src/superio/winbond/w83627hf/acpi/superio.asl
index 03f72f7189..05b570b3a9 100644
--- a/src/superio/winbond/w83627hf/acpi/superio.asl
+++ b/src/superio/winbond/w83627hf/acpi/superio.asl
@@ -356,10 +356,10 @@ Device(SIO) {
SIFR, 8
}
- CreateByteField (_FDE, 3, FD1)
- CreateByteField (_FDE, 7, FD2)
- CreateByteField (_FDE, 11, FD3)
- CreateByteField (_FDE, 15, FD4)
+ CreateByteField (_FDE, 1, FD1)
+ CreateByteField (_FDE, 4, FD2)
+ CreateByteField (_FDE, 8, FD3)
+ CreateByteField (_FDE, 12, FD4)
Store(One, ACT1)
Store(0, SELE)