const struct it87_devices *config;
phys_addr_t base = 0;
bool doexit = true;
+ char mmio_str[32];
u16 chip_type;
int err;
err = 0;
sio_data->revision = superio_inb(sioaddr, DEVREV) & 0x0f;
- pr_info("Found IT%04x%s chip at 0x%x, revision %d\n", chip_type,
- it87_devices[sio_data->type].suffix,
- *address, sio_data->revision);
config = &it87_devices[sio_data->type];
}
*mmio_address = base;
+ mmio_str[0] = '\0';
+ if (base)
+ snprintf(mmio_str, sizeof(mmio_str), " [MMIO at %pa]", &base);
+
+ pr_info("Found IT%04x%s chip at 0x%x%s, revision %d\n", chip_type,
+ it87_devices[sio_data->type].suffix,
+ *address, mmio_str, sio_data->revision);
+
/* in7 (VSB or VCCH5V) is always internal on some chips */
if (has_in7_internal(config))
sio_data->internal |= BIT(1);