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

Add PCI bus support

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/data.c

    r3090 r4098  
    143143  } else if (!strcmp(part3,"isa")) { 
    144144    res->bus = SENSORS_CHIP_NAME_BUS_ISA; 
     145    if (part2) 
     146      *(part2-1) = '-'; 
     147  } else if (!strcmp(part3,"pci")) { 
     148    res->bus = SENSORS_CHIP_NAME_BUS_PCI; 
    145149    if (part2) 
    146150      *(part2-1) = '-'; 
     
    264268    for(j = 0; j < chips->fits_count; j++) 
    265269      if ((chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_ISA) && 
     270          (chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_PCI) && 
    266271          (chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_DUMMY) && 
    267272          (chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_ANY) &&