2
0
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:
Rudolf Marek
2006-08-19 15:29:55 +00:00
parent 3027d75a12
commit 9aaa09c40e

View File

@@ -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