mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
(Kyösti)
- SiS 5595 patches, thanks to Olaf Titz git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@632 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -478,7 +478,6 @@ int sis5595_read_value(struct i2c_client *client, u8 reg)
|
||||
{
|
||||
int res;
|
||||
|
||||
down((struct semaphore *) (client->data));
|
||||
down(& (((struct sis5595_data *) (client->data)) -> lock));
|
||||
outb_p(reg,client->addr + SIS5595_ADDR_REG_OFFSET);
|
||||
res = inb_p(client->addr + SIS5595_DATA_REG_OFFSET);
|
||||
|
@@ -258,7 +258,7 @@ void do_a_print(sensors_chip_name name)
|
||||
!strcmp(name.prefix,"lm81"))
|
||||
print_adm9240(&name);
|
||||
else if (!strcmp(name.prefix,"lm78") || !strcmp(name.prefix,"lm78-j") ||
|
||||
!strcmp(name.prefix,"lm79") || !strcmp(name.prefix,"sis5595"))
|
||||
!strcmp(name.prefix,"lm79"))
|
||||
print_lm78(&name);
|
||||
else if (!strcmp(name.prefix,"sis5595"))
|
||||
print_sis5595(&name);
|
||||
|
Reference in New Issue
Block a user