mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 06:15:15 +00:00
Add PCI bus support - forgot to commit with last changeset
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4099 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -315,6 +315,8 @@ const char *sprintf_chip_name(sensors_chip_name name)
|
||||
|
||||
if (name.bus == SENSORS_CHIP_NAME_BUS_ISA)
|
||||
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
|
||||
|
Reference in New Issue
Block a user