watchdog: hpwdt: Display module parameters.
Print module parameters when the driver is loaded. Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
parent
093d43858d
commit
923014619e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user