#define SIO_F71889_ID 0x0723 /* Chipset ID */
#define SIO_F71889E_ID 0x0909 /* Chipset ID */
#define SIO_F8000_ID 0x0581 /* Chipset ID */
+#define SIO_F81865_ID 0x0704 /* Chipset ID */
#define REGION_LENGTH 8
#define ADDR_REG_OFFSET 5
MODULE_PARM_DESC(force_id, "Override the detected device ID");
enum chips { f71808e, f71858fg, f71862fg, f71869, f71882fg, f71889fg,
- f71889ed, f8000 };
+ f71889ed, f8000, f81865f };
static const char *f71882fg_names[] = {
"f71808e",
"f71889fg", /* f81801u too, same id */
"f71889ed",
"f8000",
+ "f81865f",
};
static const char f71882fg_has_in[][F71882FG_MAX_INS] = {
[f71889fg] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 },
[f71889ed] = { 1, 1, 1, 1, 1, 1, 1, 1, 1 },
[f8000] = { 1, 1, 1, 0, 0, 0, 0, 0, 0 },
+ [f81865f] = { 1, 1, 1, 1, 1, 1, 1, 0, 0 },
};
static const char f71882fg_has_in1_alarm[] = {
[f71889fg] = 1,
[f71889ed] = 1,
[f8000] = 0,
+ [f81865f] = 1,
};
static const char f71882fg_has_beep[] = {
[f71889fg] = 1,
[f71889ed] = 1,
[f8000] = 0,
+ [f81865f] = 1,
};
static const char f71882fg_nr_fans[] = {
[f71889fg] = 3,
[f71889ed] = 3,
[f8000] = 3,
+ [f81865f] = 2,
};
static const char f71882fg_nr_temps[] = {
[f71889fg] = 3,
[f71889ed] = 3,
[f8000] = 3,
+ [f81865f] = 2,
};
static struct platform_device *f71882fg_pdev;
case f71862fg:
err = (data->pwm_enable & 0x15) != 0x15;
break;
- case f71808e:
- case f71869:
- case f71882fg:
- case f71889fg:
- case f71889ed:
- err = 0;
- break;
case f8000:
err = data->pwm_enable & 0x20;
break;
+ default:
+ err = 0;
+ break;
}
if (err) {
dev_err(&pdev->dev,
case SIO_F8000_ID:
sio_data->type = f8000;
break;
+ case SIO_F81865_ID:
+ sio_data->type = f81865f;
+ break;
default:
pr_info("Unsupported Fintek device: %04x\n",
(unsigned int)devid);