bbswitch: Add usage instructions to header

This commit is contained in:
Lekensteyn 2011-12-13 21:18:16 +01:00
parent 8c0ea9bc34
commit 10ad4041f1

View File

@ -1,9 +1,13 @@
/** /**
* Disable discrete graphics (currently nvidia only) * Disable discrete graphics (currently nvidia only)
* *
* Based on: * Usage:
* byo-switcheroo Alex Williamson <alex.williamson@redhat.com> * Disable discrete card
* acpi_call Michal Kottman * # echo OFF > /proc/acpi/bbswitch
* Enable discrete card
* # echo ON > /proc/acpi/bbswitch
* Get status
* # cat /proc/acpi/bbswitch
*/ */
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/acpi.h> #include <linux/acpi.h>