Skip to content

Commit 36e3ff4

Browse files
dann frazierWim Van Sebroeck
authored andcommitted
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>
1 parent 923410d commit 36e3ff4

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

‎drivers/watchdog/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,11 +574,11 @@ config IT87_WDT
574574
be called it87_wdt.
575575

576576
config HP_WATCHDOG
577-
tristate "HP Proliant iLO 2 Hardware Watchdog Timer"
577+
tristate "HP Proliant iLO2+ Hardware Watchdog Timer"
578578
depends on X86
579579
help
580580
A software monitoring watchdog and NMI sourcing driver. This driver
581-
will detect lockups and provide stack trace. Also, when an NMI
581+
will detect lockups and provide a stack trace. Also, when an NMI
582582
occurs this driver will make the necessary BIOS calls to log
583583
the cause of the NMI. This is a driver that will only load on a
584584
HP ProLiant system with a minimum of iLO2 support.

‎drivers/watchdog/hpwdt.c‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ static unsigned long __iomem *hpwdt_timer_reg;
4848
static unsigned long __iomem *hpwdt_timer_con;
4949

5050
static struct pci_device_id hpwdt_devices[] = {
51-
{ PCI_DEVICE(PCI_VENDOR_ID_COMPAQ, 0xB203) },
52-
{ PCI_DEVICE(PCI_VENDOR_ID_HP, 0x3306) },
51+
{ PCI_DEVICE(PCI_VENDOR_ID_COMPAQ, 0xB203) }, /* iLO2 */
52+
{ PCI_DEVICE(PCI_VENDOR_ID_HP, 0x3306) }, /* iLO3 */
5353
{0}, /* terminate list */
5454
};
5555
MODULE_DEVICE_TABLE(pci, hpwdt_devices);
@@ -548,7 +548,7 @@ static const struct watchdog_info ident = {
548548
.options = WDIOF_SETTIMEOUT |
549549
WDIOF_KEEPALIVEPING |
550550
WDIOF_MAGICCLOSE,
551-
.identity = "HP iLO2 HW Watchdog Timer",
551+
.identity = "HP iLO2+ HW Watchdog Timer",
552552
};
553553

554554
static long hpwdt_ioctl(struct file *file, unsigned int cmd,
@@ -654,13 +654,13 @@ static int __devinit hpwdt_init_one(struct pci_dev *dev,
654654
hpwdt_check_nmi_sourcing(dev);
655655

656656
/*
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
658658
* not run on a legacy ASM box.
659659
* So we only support the G5 ProLiant servers and higher.
660660
*/
661661
if (dev->subsystem_vendor != PCI_VENDOR_ID_HP) {
662662
dev_warn(&dev->dev,
663-
"This server does not have an iLO2 ASIC.\n");
663+
"This server does not have an iLO2+ ASIC.\n");
664664
return -ENODEV;
665665
}
666666

@@ -674,7 +674,7 @@ static int __devinit hpwdt_init_one(struct pci_dev *dev,
674674
pci_mem_addr = pci_iomap(dev, 1, 0x80);
675675
if (!pci_mem_addr) {
676676
dev_warn(&dev->dev,
677-
"Unable to detect the iLO2 server memory.\n");
677+
"Unable to detect the iLO2+ server memory.\n");
678678
retval = -ENOMEM;
679679
goto error_pci_iomap;
680680
}

0 commit comments

Comments
 (0)