Load module with blacklist=0 to override blacklist.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
module_param(force_id, ushort, 0);
MODULE_PARM_DESC(force_id, "Override the detected device ID");
module_param(force_id, ushort, 0);
MODULE_PARM_DESC(force_id, "Override the detected device ID");
+static unsigned short blacklist = 1;
+module_param(blacklist, ushort, 0);
+MODULE_PARM_DESC(blacklist,
+ "Enable/disable blacklist (1=enable, 0=disable, default 1)");
+
static struct platform_device *it87_pdev[2];
static bool it87_sio4e_broken;
#ifdef __IT87_USE_ACPI_MUTEX
static struct platform_device *it87_pdev[2];
static bool it87_sio4e_broken;
#ifdef __IT87_USE_ACPI_MUTEX
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
+ * Accessing the second Super-IO chip can result in board
* hangs. Disable until we figure out what is going on.
*/
* hangs. Disable until we figure out what is going on.
*/
- if (it87_sio4e_broken && sioaddr[i] == 0x4e)
+ if (blacklist && it87_sio4e_broken && sioaddr[i] == 0x4e)
continue;
memset(&sio_data, 0, sizeof(struct it87_sio_data));
isa_address = 0;
continue;
memset(&sio_data, 0, sizeof(struct it87_sio_data));
isa_address = 0;