2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-30 22:05:11 +00:00

Drop support for "dummy" bus type. The kernel no longer supports

such fake i2c buses, so neither should we. Instead, non-i2c buses are
handled explicitly.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4672 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare
2007-08-16 09:54:53 +00:00
parent 6bf63e0f7a
commit b52225ffc0
6 changed files with 4 additions and 15 deletions

View File

@@ -302,9 +302,6 @@ const char *sprintf_chip_name(const sensors_chip_name *name)
snprintf(buf, BUF_SIZE, "%s-isa-%04x", name->prefix, name->addr);
else if (name->bus == SENSORS_CHIP_NAME_BUS_PCI)
snprintf(buf, BUF_SIZE, "%s-pci-%04x", name->prefix, name->addr);
else if (name->bus == SENSORS_CHIP_NAME_BUS_DUMMY)
snprintf(buf, BUF_SIZE, "%s-%s-%04x", name->prefix, name->busname,
name->addr);
else
snprintf(buf, BUF_SIZE, "%s-i2c-%d-%02x", name->prefix, name->bus,
name->addr);