Skip to contentSkip to conversation

quick_dump/hsw: support haswell in device auto-detection

PATCH New [email protected] 1 participant 1 message Aug 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 quick_dump/hsw: support haswell in device auto-detection

From: Mengdong Lin <[email protected]>

This patch exposes is_haswell() to python, to be used by device auto-detection.

tools/quick_dump/chipset.i +2 -0
index 69dc8df..4b13487 100644
@@ -7,6 +7,7 @@
 extern int is_sandybridge(unsigned short pciid);
 extern int is_ivybridge(unsigned short pciid);
 extern int is_valleyview(unsigned short pciid);
+extern int is_haswell(unsigned short pciid);
 extern struct pci_device *intel_get_pci_device();
 extern int intel_register_access_init(struct pci_device *pci_dev, int safe);
 extern uint32_t intel_register_read(uint32_t reg);
@@ -19,6 +20,7 @@ extern uint32_t intel_dpio_reg_read(uint32_t reg);
 
 extern int is_sandybridge(unsigned short pciid);
 extern int is_ivybridge(unsigned short pciid);
+extern int is_haswell(unsigned short pciid);
 extern int is_valleyview(unsigned short pciid);
 extern struct pci_device *intel_get_pci_device();
 extern int intel_register_access_init(struct pci_device *pci_dev, int safe);
Signature · 1 line
1.8.1.2