Fixed some more bugs

* PIIX4: better names in /proc files
* sensors.c: fixed bug which prevented registration of non-ISA clients

Status:
* lm75 inserts happily and interacts with the PIIX4 correctly
* lm75 readings are still wrong (all 0xff)
* lm75 insertion with ISA bus present causes oops


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@39 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-12-05 16:36:47 +00:00
1 parent 61d74f13e0
commit e0484650ef
6 files changed
+6 -14

No files matched your search

+2 -2
View File
@@ -168,7 +168,7 @@ int piix4_setup(void)
}
/* Everything is happy, let's grab the memory and set things up. */
request_region(piix4_smba, 8, "SMBus");
request_region(piix4_smba, 8, "piix4");
#ifdef DEBUG
if ((temp & 0x0E) == 8)
@@ -376,7 +376,7 @@ int piix4_init(void)
return res;
}
piix4_initialized ++;
strcpy(piix4_adapter.name,"SMBus PIIX4 adapter");
sprintf(piix4_adapter.name,"SMBus PIIX4 adapter at %04x",piix4_smba);
piix4_adapter.id = ALGO_SMBUS | SMBUS_PIIX4;
piix4_adapter.algo = &smbus_algorithm;
piix4_adapter.smbus_access = &piix4_access;