summaryrefslogtreecommitdiff
path: root/src/superio/ite
diff options
context:
space:
mode:
authorWard Vandewege <ward@gnu.org>2008-02-26 04:36:52 +0000
committerWard Vandewege <ward@gnu.org>2008-02-26 04:36:52 +0000
commit17632a205e08272a85eb468c685924b83ec6a5e7 (patch)
tree570b60ad7df04bc60ba4e0be96294485f2593e1d /src/superio/ite
parent0be73bbf3014d3e7a5d519bb6023c99374df3322 (diff)
downloadcoreboot-17632a205e08272a85eb468c685924b83ec6a5e7.tar.xz
Temporarily disable the fan control patch from this morning; it turns out to
stop the CPU fan on the m57sli v1.1 (PLCC) entirely, which is less than desirable. I did not notice before because my board ran fine for about 15 minutes before the CPU overheated. Thankfully the board has a good failsafe mode - it just switches off when the CPU gets too hot, without permanent damage. I'm debugging this and plan to commit a proper fix later in the week. This is not really trivial, but the tree is dangerous in the current state so I'm self-acking. Signed-off-by: Ward Vandewege <ward@gnu.org> Acked-by: Ward Vandewege <ward@gnu.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3118 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/ite')
-rw-r--r--src/superio/ite/it8716f/superio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/superio/ite/it8716f/superio.c b/src/superio/ite/it8716f/superio.c
index d0f0857e89..39aa416820 100644
--- a/src/superio/ite/it8716f/superio.c
+++ b/src/superio/ite/it8716f/superio.c
@@ -62,9 +62,9 @@ static uint8_t pnp_read_index(uint16_t port_base, uint8_t reg)
return inb(port_base + 1);
}
-#ifdef HAVE_FANCTL
+/* #ifdef HAVE_FANCTL
extern void init_ec(uint16_t base);
-#else
+#else */
static void init_ec(uint16_t base)
{
uint8_t value;
@@ -80,7 +80,7 @@ static void init_ec(uint16_t base)
printk_debug("FAN_CTL: reg = 0x%04x, writing value = 0x%02x\r\n",
base + 0x14, value | 0x87);
}
-#endif
+//#endif
static void it8716f_init(device_t dev)
{