mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
None of system, subsystem, or type may have spaces in them. Convert the spaces
to dashes. Approved by: manu@
This commit is contained in:
parent
277f38abff
commit
80bd2aad68
2 changed files with 4 additions and 4 deletions
|
|
@ -863,9 +863,9 @@ axp2xx_intr(void *arg)
|
|||
if (reg & AXP2XX_IRQ2_BATT_DISCONN)
|
||||
devctl_notify("PMU", "Battery", "disconnected", NULL);
|
||||
if (reg & AXP2XX_IRQ2_BATT_TEMP_LOW)
|
||||
devctl_notify("PMU", "Battery", "low temp", NULL);
|
||||
devctl_notify("PMU", "Battery", "low-temp", NULL);
|
||||
if (reg & AXP2XX_IRQ2_BATT_TEMP_OVER)
|
||||
devctl_notify("PMU", "Battery", "high temp", NULL);
|
||||
devctl_notify("PMU", "Battery", "high-temp", NULL);
|
||||
axp2xx_write(sc->dev, AXP2XX_IRQ2_STATUS, AXP2XX_IRQ_ACK);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1118,9 +1118,9 @@ axp8xx_intr(void *arg)
|
|||
if (bootverbose)
|
||||
device_printf(dev, "AXP_IRQSTAT4 val: %x\n", val);
|
||||
if (val & AXP_IRQSTAT4_BATLVL_LO0)
|
||||
devctl_notify("PMU", "Battery", "shutdown threshold", NULL);
|
||||
devctl_notify("PMU", "Battery", "shutdown-threshold", NULL);
|
||||
if (val & AXP_IRQSTAT4_BATLVL_LO1)
|
||||
devctl_notify("PMU", "Battery", "warning threshold", NULL);
|
||||
devctl_notify("PMU", "Battery", "warning-threshold", NULL);
|
||||
/* Acknowledge */
|
||||
axp8xx_write(dev, AXP_IRQSTAT4, val);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue