Disable access to 2nd Super-IO chip

It is known to be broken.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2017-04-18 10:00:31 -07:00
parent c792ed3cd4
commit c242e32088

6
it87.c
View File

@@ -3769,6 +3769,12 @@ static int __init sm_it87_init(void)
return err; return err;
for (i = 0; i < ARRAY_SIZE(sioaddr); i++) { 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)); memset(&sio_data, 0, sizeof(struct it87_sio_data));
isa_address = 0; isa_address = 0;
err = it87_find(sioaddr[i], &isa_address, &sio_data); err = it87_find(sioaddr[i], &isa_address, &sio_data);