]> git.sur5r.net Git - groeck-it87/commitdiff
Disable access to 2nd Super-IO chip
authorGuenter Roeck <linux@roeck-us.net>
Tue, 18 Apr 2017 17:00:31 +0000 (10:00 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 18 Apr 2017 17:12:52 +0000 (10:12 -0700)
It is known to be broken.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c

diff --git a/it87.c b/it87.c
index da6cd41c3b8e8942fe4b43fff0d57c8ffeae6c22..21e5724409cacdd3986e7df3249bfa0cf247b7ce 100644 (file)
--- a/it87.c
+++ b/it87.c
@@ -3769,6 +3769,12 @@ static int __init sm_it87_init(void)
                return err;
 
        for (i = 0; i < ARRAY_SIZE(sioaddr); i++) {
+               /*
+                * Accessing the second Super-IO chi can result in board
+                * hangs. Disable until we figure out what is going on.
+                */
+               if (it87_sio4e_broken && sioaddr[i] == 0x4e)
+                       continue;
                memset(&sio_data, 0, sizeof(struct it87_sio_data));
                isa_address = 0;
                err = it87_find(sioaddr[i], &isa_address, &sio_data);