Changeset 4098 for lm-sensors/trunk/lib/data.c
- Timestamp:
- 08/19/06 17:23:10 (7 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/lib/data.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/lib/data.c
r3090 r4098 143 143 } else if (!strcmp(part3,"isa")) { 144 144 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; 145 149 if (part2) 146 150 *(part2-1) = '-'; … … 264 268 for(j = 0; j < chips->fits_count; j++) 265 269 if ((chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_ISA) && 270 (chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_PCI) && 266 271 (chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_DUMMY) && 267 272 (chips->fits[j].bus != SENSORS_CHIP_NAME_BUS_ANY) &&
