Ticket #2666: listdev.diff
File listdev.diff, 848 bytes (added by , 16 years ago) |
---|
-
src/bin/listdev/listdev.c
184 184 && attr.type == B_UINT8_TYPE) { 185 185 scsi_path_id = attr.value.ui8; 186 186 } else if (!strcmp(attr.name, B_DEVICE_TYPE) 187 && attr.type == B_UINT 8_TYPE)187 && attr.type == B_UINT16_TYPE) 188 188 pci_class_base_id = attr.value.ui8; 189 189 else if (!strcmp(attr.name, B_DEVICE_SUB_TYPE) 190 && attr.type == B_UINT 8_TYPE)190 && attr.type == B_UINT16_TYPE) 191 191 pci_class_sub_id = attr.value.ui8; 192 192 else if (!strcmp(attr.name, B_DEVICE_INTERFACE) 193 && attr.type == B_UINT 8_TYPE)193 && attr.type == B_UINT16_TYPE) 194 194 pci_class_api_id = attr.value.ui8; 195 195 else if (!strcmp(attr.name, B_DEVICE_VENDOR_ID) 196 196 && attr.type == B_UINT16_TYPE)