|
@@ -26,6 +26,9 @@
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
+/* Uncomment next line to get verbose print outs*/
|
|
|
|
+/* #define DEBUG */
|
|
|
|
+
|
|
#include <linux/kernel.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/module.h>
|
|
#include <linux/module.h>
|
|
#include <linux/init.h>
|
|
#include <linux/init.h>
|
|
@@ -47,9 +50,6 @@
|
|
#undef PREFIX
|
|
#undef PREFIX
|
|
#define PREFIX "ACPI: EC: "
|
|
#define PREFIX "ACPI: EC: "
|
|
|
|
|
|
-/* Uncomment next line to get verbose print outs*/
|
|
|
|
-/* #define DEBUG */
|
|
|
|
-
|
|
|
|
/* EC status register */
|
|
/* EC status register */
|
|
#define ACPI_EC_FLAG_OBF 0x01 /* Output buffer full */
|
|
#define ACPI_EC_FLAG_OBF 0x01 /* Output buffer full */
|
|
#define ACPI_EC_FLAG_IBF 0x02 /* Input buffer full */
|
|
#define ACPI_EC_FLAG_IBF 0x02 /* Input buffer full */
|