Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/acpi_support/acpi_fujitsu.c
Show All 12 Lines | |||||
exists = 1; | exists = 1; | ||||
break; | break; | ||||
} | } | ||||
if(!exists) | if(!exists) | ||||
continue; | continue; | ||||
SYSCTL_ADD_PROC(&sc->sysctl_ctx, | SYSCTL_ADD_PROC(&sc->sysctl_ctx, | ||||
SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, | SYSCTL_CHILDREN(sc->sysctl_tree), OID_AUTO, | ||||
sysctl_table[i].name, | sysctl_table[i].name, | ||||
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_ANYBODY, | CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_ANYBODY | | ||||
CTLFLAG_NEEDGIANT, | |||||
sc, i, acpi_fujitsu_sysctl, "I", | sc, i, acpi_fujitsu_sysctl, "I", | ||||
sysctl_table[i].description); | sysctl_table[i].description); | ||||
} | } | ||||
/* Set the hotkeys to their initial states */ | /* Set the hotkeys to their initial states */ | ||||
if (!acpi_fujitsu_update(sc)) { | if (!acpi_fujitsu_update(sc)) { | ||||
device_printf(sc->dev, "Couldn't init hotkey states\n"); | device_printf(sc->dev, "Couldn't init hotkey states\n"); | ||||
Show All 12 Lines |