Commit 92301461 authored by Jerry Hoemann's avatar Jerry Hoemann Committed by Wim Van Sebroeck

watchdog: hpwdt: Display module parameters.

Print module parameters when the driver is loaded.
Signed-off-by: default avatarJerry Hoemann <jerry.hoemann@hpe.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent 093d4385
...@@ -320,9 +320,12 @@ static int hpwdt_init_one(struct pci_dev *dev, ...@@ -320,9 +320,12 @@ static int hpwdt_init_one(struct pci_dev *dev,
goto error_wd_register; goto error_wd_register;
} }
dev_info(&dev->dev, "HPE Watchdog Timer Driver: %s" dev_info(&dev->dev, "HPE Watchdog Timer Driver: Version: %s\n",
", timer margin: %d seconds (nowayout=%d).\n", HPWDT_VERSION);
HPWDT_VERSION, hpwdt_dev.timeout, nowayout); dev_info(&dev->dev, "timeout: %d seconds (nowayout=%d)\n",
hpwdt_dev.timeout, nowayout);
dev_info(&dev->dev, "pretimeout: %s.\n",
pretimeout ? "on" : "off");
if (dev->subsystem_vendor == PCI_VENDOR_ID_HP_3PAR) if (dev->subsystem_vendor == PCI_VENDOR_ID_HP_3PAR)
ilo5 = true; ilo5 = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment