From: Guenter Roeck Date: Sun, 23 Jul 2017 14:29:38 +0000 (-0700) Subject: IT8607 does not support the 1st fan, only fan2-3 X-Git-Tag: v1.0~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=beecac84d9e6d3f2da3f5d63d70233ba2b18bf2b;p=groeck-it87 IT8607 does not support the 1st fan, only fan2-3 Signed-off-by: Guenter Roeck --- diff --git a/it87.c b/it87.c index 04514b2..8fb14b9 100644 --- a/it87.c +++ b/it87.c @@ -3038,9 +3038,16 @@ static int __init it87_find(int sioaddr, unsigned short *address, if (reg29 & BIT(2)) sio_data->skip_fan |= BIT(1); - if (sio_data->type == it8603) { + switch (sio_data->type) { + case it8603: sio_data->skip_in |= BIT(5); /* No VIN5 */ sio_data->skip_in |= BIT(6); /* No VIN6 */ + break; + case it8607: + sio_data->skip_pwm |= BIT(0);/* No fan1 */ + sio_data->skip_fan |= BIT(0); + default: + break; } sio_data->beep_pin = superio_inb(sioaddr,