Code/ibm-acpi-0.12a-2.6.14-fan.patch

From ThinkWiki
Revision as of 22:39, 10 April 2007 by GxrQdc (Talk | contribs)
Jump to: navigation, search

--- drivers/acpi/ibm_acpi.c.orig 2005-11-01 19:47:44.262270250 0100

   drivers/acpi/ibm_acpi.c     2005-11-01 20:16:16.081252250  0100

@@ -1465,6 1465,7 @@ static int fan_read(char *p)

{
       int len = 0;
       int s;
       char status_read = 0;
       u8 lo, hi, status;
       if (gfan_handle) {

@@ -1477,9 1478,11 @@ static int fan_read(char *p)

               /* all except 570, 600e/x, 770e, 770x */
               if (!acpi_ec_read(fan_status_offset,