int340x_thermal/processor_thermal_device: add support to Skylake processors
PATCH 1/1 int340x_thermal/processor_thermal_device: add support to Skylake processors
Signed-off-by Brian Bian <[email protected]>
--- drivers/thermal/int340x_thermal/processor_thermal_device.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/thermal/int340x_thermal/processor_thermal_device.c +4 -0
@@ -25,6 +25,9 @@#define PCI_DEVICE_ID_PROC_BDW_THERMAL 0x1603#define PCI_DEVICE_ID_PROC_HSB_THERMAL 0x0A03 +/* Skylake thermal reporting device */ +#define PCI_DEVICE_ID_PROC_SKL_THERMAL 0x1903 +/* Braswell thermal reporting device */ #define PCI_DEVICE_ID_PROC_BSW_THERMAL 0x22DC
@@ -346,6 +349,7 @@ static void proc_thermal_pci_remove(struct pci_dev *pdev)static const struct pci_device_id proc_thermal_pci_ids[] = { {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_BDW_THERMAL )}, {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_HSB_THERMAL )}, + {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_SKL_THERMAL )}, {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_BSW_THERMAL )}, {0 , }, };
Signature · 1 line
1.9.1
There is no commit message here. You may want to atleast a line. "Added skylake thermal reporting device PCI Id. "
Quoted 27 lines · Brian Bian
Signed-off-by Brian Bian <[email protected]>--- drivers/thermal/int340x_thermal/processor_thermal_device.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/thermal/int340x_thermal/processor_thermal_device.c +4
-0@@ -25,6 +25,9 @@#define PCI_DEVICE_ID_PROC_BDW_THERMAL 0x1603#define PCI_DEVICE_ID_PROC_HSB_THERMAL 0x0A03 +/* Skylake thermal reporting device */ +#define PCI_DEVICE_ID_PROC_SKL_THERMAL 0x1903 +/* Braswell thermal reporting device */ #define PCI_DEVICE_ID_PROC_BSW_THERMAL 0x22DC@@ -346,6 +349,7 @@ static void proc_thermal_pci_remove(struct pci_dev *pdev)static const struct pci_device_id proc_thermal_pci_ids[] = { {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_BDW_THERMAL )}, {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_HSB_THERMAL )}, + {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_SKL_THERMAL )}, {PCI_DEVICE (PCI_VENDOR_ID_INTEL ,PCI_DEVICE_ID_PROC_BSW_THERMAL )}, {0 , }, };