70169abbe454813663d22408aab9341191491cd2
[lede.git] / target / linux / x86 / patches-4.4 / 097-0001-sp5100_tco-Add-AMD-Mullins-platform-support.patch
1 From 190aa4304de6fe2185d96392ddf56580fa133e99 Mon Sep 17 00:00:00 2001
2 From: Denis Turischev <denis.turischev@compulab.co.il>
3 Date: Tue, 24 Nov 2015 10:46:12 +0200
4 Subject: [PATCH] sp5100_tco: Add AMD Mullins platform support
5
6 AMD Mullins watchdog is fully compatible to the previous Hudson chipset,
7 reuse the existent sp5100_tco driver.
8
9 Signed-off-by: Denis Turischev <denis.turischev@compulab.co.il>
10 Signed-off-by: Guenter Roeck <linux@roeck-us.net>
11 Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
12 ---
13  drivers/watchdog/sp5100_tco.c | 2 ++
14  1 file changed, 2 insertions(+)
15
16 --- a/drivers/watchdog/sp5100_tco.c
17 +++ b/drivers/watchdog/sp5100_tco.c
18 @@ -306,6 +306,8 @@ static struct miscdevice sp5100_tco_misc
19  static const struct pci_device_id sp5100_tco_pci_tbl[] = {
20         { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS, PCI_ANY_ID,
21           PCI_ANY_ID, },
22 +       { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SMBUS, PCI_ANY_ID,
23 +         PCI_ANY_ID, },
24         { 0, },                 /* End of list */
25  };
26  MODULE_DEVICE_TABLE(pci, sp5100_tco_pci_tbl);