View | Details | Raw Unified | Return to bug 207223 | Differences between
and this patch

Collapse All | Expand All

(-)sys/dev/acpica/acpi_battery.c (+5 lines)
Lines 492-497 Link Here
492
	"current status flags");
492
	"current status flags");
493
    SYSCTL_ADD_PROC(&acpi_battery_sysctl_ctx,
493
    SYSCTL_ADD_PROC(&acpi_battery_sysctl_ctx,
494
	SYSCTL_CHILDREN(acpi_battery_sysctl_tree),
494
	SYSCTL_CHILDREN(acpi_battery_sysctl_tree),
495
	OID_AUTO, "rate", CTLTYPE_INT | CTLFLAG_RD,
496
	&acpi_battery_battinfo.rate, 0, acpi_battery_sysctl, "I",
497
	"current discharge rate");
498
    SYSCTL_ADD_PROC(&acpi_battery_sysctl_ctx,
499
	SYSCTL_CHILDREN(acpi_battery_sysctl_tree),
495
	OID_AUTO, "units", CTLTYPE_INT | CTLFLAG_RD,
500
	OID_AUTO, "units", CTLTYPE_INT | CTLFLAG_RD,
496
	NULL, 0, acpi_battery_units_sysctl, "I", "number of batteries");
501
	NULL, 0, acpi_battery_units_sysctl, "I", "number of batteries");
497
    SYSCTL_ADD_INT(&acpi_battery_sysctl_ctx,
502
    SYSCTL_ADD_INT(&acpi_battery_sysctl_ctx,

Return to bug 207223