aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/hpwdt.c
diff options
context:
space:
mode:
authordann frazier <dannf@hp.com>2010-07-27 19:50:57 -0400
committerWim Van Sebroeck <wim@iguana.be>2010-08-13 16:54:35 -0400
commit36e3ff44cebd7e46756dec88f30c982bebefdab7 (patch)
treecd4c57bbbce05dff16997e94089544fd0dbc9b31 /drivers/watchdog/hpwdt.c
parent923410d0bf80cb26744b366cadcd2917f4a36b25 (diff)
watchdog: hpwdt (4/12): Despecificate driver from iLO2
This driver supports both iLO2 and iLO3, but our user-visible strings currently only reference iLO2. Let's just call it "iLO2+" to avoid having to update strings for each iLO generation. This driver doesn't support iLO ASICs prior to iLO2, but that is sufficiently explained in Kconfig. Signed-off-by: dann frazier <dannf@hp.com> Acked-by: Thomas Mingarelli <Thomas.Mingarelli@hp.com> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/hpwdt.c')
-rw-r--r--drivers/watchdog/hpwdt.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c
index f0ecb14990df..e18f6b9f7947 100644
--- a/drivers/watchdog/hpwdt.c
+++ b/drivers/watchdog/hpwdt.c
@@ -48,8 +48,8 @@ static unsigned long __iomem *hpwdt_timer_reg;
48static unsigned long __iomem *hpwdt_timer_con; 48static unsigned long __iomem *hpwdt_timer_con;
49 49
50static struct pci_device_id hpwdt_devices[] = { 50static struct pci_device_id hpwdt_devices[] = {
51 { PCI_DEVICE(PCI_VENDOR_ID_COMPAQ, 0xB203) }, 51 { PCI_DEVICE(PCI_VENDOR_ID_COMPAQ, 0xB203) }, /* iLO2 */
52 { PCI_DEVICE(PCI_VENDOR_ID_HP, 0x3306) }, 52 { PCI_DEVICE(PCI_VENDOR_ID_HP, 0x3306) }, /* iLO3 */
53 {0}, /* terminate list */ 53 {0}, /* terminate list */
54}; 54};
55MODULE_DEVICE_TABLE(pci, hpwdt_devices); 55MODULE_DEVICE_TABLE(pci, hpwdt_devices);
@@ -548,7 +548,7 @@ static const struct watchdog_info ident = {
548 .options = WDIOF_SETTIMEOUT | 548 .options = WDIOF_SETTIMEOUT |
549 WDIOF_KEEPALIVEPING | 549 WDIOF_KEEPALIVEPING |
550 WDIOF_MAGICCLOSE, 550 WDIOF_MAGICCLOSE,
551 .identity = "HP iLO2 HW Watchdog Timer", 551 .identity = "HP iLO2+ HW Watchdog Timer",
552}; 552};
553 553
554static long hpwdt_ioctl(struct file *file, unsigned int cmd, 554static long hpwdt_ioctl(struct file *file, unsigned int cmd,
@@ -654,13 +654,13 @@ static int __devinit hpwdt_init_one(struct pci_dev *dev,
654 hpwdt_check_nmi_sourcing(dev); 654 hpwdt_check_nmi_sourcing(dev);
655 655
656 /* 656 /*
657 * First let's find out if we are on an iLO2 server. We will 657 * First let's find out if we are on an iLO2+ server. We will
658 * not run on a legacy ASM box. 658 * not run on a legacy ASM box.
659 * So we only support the G5 ProLiant servers and higher. 659 * So we only support the G5 ProLiant servers and higher.
660 */ 660 */
661 if (dev->subsystem_vendor != PCI_VENDOR_ID_HP) { 661 if (dev->subsystem_vendor != PCI_VENDOR_ID_HP) {
662 dev_warn(&dev->dev, 662 dev_warn(&dev->dev,
663 "This server does not have an iLO2 ASIC.\n"); 663 "This server does not have an iLO2+ ASIC.\n");
664 return -ENODEV; 664 return -ENODEV;
665 } 665 }
666 666
@@ -674,7 +674,7 @@ static int __devinit hpwdt_init_one(struct pci_dev *dev,
674 pci_mem_addr = pci_iomap(dev, 1, 0x80); 674 pci_mem_addr = pci_iomap(dev, 1, 0x80);
675 if (!pci_mem_addr) { 675 if (!pci_mem_addr) {
676 dev_warn(&dev->dev, 676 dev_warn(&dev->dev,
677 "Unable to detect the iLO2 server memory.\n"); 677 "Unable to detect the iLO2+ server memory.\n");
678 retval = -ENOMEM; 678 retval = -ENOMEM;
679 goto error_pci_iomap; 679 goto error_pci_iomap;
680 } 680 }