diff options
author | kevlo <kevlo@FreeBSD.org> | 2006-11-01 03:45:24 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2006-11-01 03:45:24 +0000 |
commit | eaa075b4bb54e8ce63bc173311d9d7736ede9636 (patch) | |
tree | a1691aaedd73d38d6ad77fadde3fa5d75a5a001c | |
parent | 7508b90d598635d84b182eb7215a7936385401e2 (diff) | |
download | FreeBSD-src-eaa075b4bb54e8ce63bc173311d9d7736ede9636.zip FreeBSD-src-eaa075b4bb54e8ce63bc173311d9d7736ede9636.tar.gz |
Document the cdp for controlling CD power.
Approved by: cognet
-rw-r--r-- | share/man/man4/man4.i386/acpi_sony.4 | 2 | ||||
-rw-r--r-- | sys/dev/acpi_support/acpi_sony.c | 4 |
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); |