diff mbox

quick_dump/hsw: support haswell in device auto-detection

Message ID 1377486714-24291-1-git-send-email-mengdong.lin@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Lin, Mengdong Aug. 26, 2013, 3:11 a.m. UTC
From: Mengdong Lin <mengdong.lin@intel.com>

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

Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
diff mbox

Patch

diff --git a/tools/quick_dump/chipset.i b/tools/quick_dump/chipset.i
index 69dc8df..4b13487 100644
--- a/tools/quick_dump/chipset.i
+++ b/tools/quick_dump/chipset.i
@@ -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);