return to the origin of firewire 2

This commit is contained in:
Cayo Puigdefabregas 2022-03-29 13:35:00 +02:00
parent 2c71d69a9a
commit a38c940e44
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ class Motherboard(Component):
super().__init__(node) super().__init__(node)
self.from_lshw(node) self.from_lshw(node)
self.usb = self.num_interfaces(node, 'usb') self.usb = self.num_interfaces(node, 'usb')
self.firewire = str(self.num_interfaces(node, 'firewire')) self.firewire = self.num_interfaces(node, 'firewire')
self.serial = self.num_interfaces(node, 'serial') self.serial = self.num_interfaces(node, 'serial')
self.pcmcia = self.num_interfaces(node, 'pcmcia') self.pcmcia = self.num_interfaces(node, 'pcmcia')
self.slots = int(2) self.slots = int(2)

View File

@ -98,7 +98,7 @@ class ParseSnapshot:
"serialNumber": moder_board.get("Serial Number"), "serialNumber": moder_board.get("Serial Number"),
"manufacturer": moder_board.get("Manufacturer"), "manufacturer": moder_board.get("Manufacturer"),
"biosDate": self.get_bios_date(), "biosDate": self.get_bios_date(),
"firewire": self.get_firmware(), # "firewire": self.get_firmware(),
"ramMaxSize": self.get_max_ram_size(), "ramMaxSize": self.get_max_ram_size(),
"ramSlots": len(self.dmi.get("Memory Device")), "ramSlots": len(self.dmi.get("Memory Device")),
"slots": self.get_ram_slots(), "slots": self.get_ram_slots(),