summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/man4.i386/acpi_sony.42
-rw-r--r--sys/dev/acpi_support/acpi_sony.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/share/man/man4/man4.i386/acpi_sony.4 b/share/man/man4/man4.i386/acpi_sony.4
index 2df2dd9..d068fe9 100644
--- a/share/man/man4/man4.i386/acpi_sony.4
+++ b/share/man/man4/man4.i386/acpi_sony.4
@@ -53,6 +53,8 @@ The following sysctl is currently implemented:
.Bl -tag -width indent
.It Va dev.acpi_sony.0.brightness
Current brightness level of the display.
+.It Va dev.acpi_sony.0.cdp
+Turns the CD power on or off.
.El
.Sh SEE ALSO
.Xr acpi 4 ,
diff --git a/sys/dev/acpi_support/acpi_sony.c b/sys/dev/acpi_support/acpi_sony.c
index 9f08ea6..64b49a7 100644
--- a/sys/dev/acpi_support/acpi_sony.c
+++ b/sys/dev/acpi_support/acpi_sony.c
@@ -67,8 +67,8 @@ static struct acpi_sony_name_list
{ "cmi", "GCMI", "SCMI", "????"},
#endif
{ "wdp", "GWDP", NULL, "?????"},
- { "cdp", "GCDP", "CDPW", "??????"}, /*shares [\GL03]&0x8 flag*/
- {NULL, NULL,NULL}
+ { "cdp", "GCDP", "CDPW", "CD Power"}, /*shares [\GL03]&0x8 flag*/
+ { NULL, NULL, NULL }
};
static int acpi_sony_probe(device_t dev);
OpenPOWER on IntegriCloud