Changeset 4099

Show
Ignore:
Timestamp:
08/19/06 17:29:55 (8 years ago)
Author:
ruik
Message:

Add PCI bus support - forgot to commit with last changeset

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/sensors/main.c

    r4089 r4099  
    316316  if (name.bus == SENSORS_CHIP_NAME_BUS_ISA) 
    317317    snprintf(buf,BUF_SIZE,"%s-isa-%04x",name.prefix,name.addr); 
     318  else if (name.bus == SENSORS_CHIP_NAME_BUS_PCI) 
     319    snprintf(buf,BUF_SIZE,"%s-pci-%04x",name.prefix,name.addr); 
    318320  else if (name.bus == SENSORS_CHIP_NAME_BUS_DUMMY) 
    319321    snprintf(buf,BUF_SIZE,"%s-%s-%04x",name.prefix,name.busname,name.addr);