1/*- 2 * Copyright (c) 2003 Nate Lawson 3 * Copyright (c) 2000 Michael Smith 4 * Copyright (c) 2000 BSDi 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 121 unchanged lines hidden (view full) --- 130 * software, or service, directly or indirectly, to any country for which the 131 * United States government or any agency thereof requires an export license, 132 * other governmental approval, or letter of assurance, without first obtaining 133 * such license, approval or letter. 134 * 135 *****************************************************************************/ 136 137#include <sys/cdefs.h> |
138__FBSDID("$FreeBSD: head/sys/dev/acpica/acpi_ec.c 139339 2004-12-27 05:36:47Z njl $"); |
139 140#include "opt_acpi.h" 141#include <sys/param.h> 142#include <sys/kernel.h> 143#include <sys/bus.h> 144#include <sys/malloc.h> 145#include <sys/module.h> 146#include <sys/sx.h> --- 24 unchanged lines hidden (view full) --- 171 172/* 173 * EC_STATUS: 174 * ---------- 175 * The encoding of the EC status register is illustrated below. 176 * Note that a set bit (1) indicates the property is TRUE 177 * (e.g. if bit 0 is set then the output buffer is full). 178 * +-+-+-+-+-+-+-+-+ |
179 * |7|6|5|4|3|2|1|0| |
180 * +-+-+-+-+-+-+-+-+ 181 * | | | | | | | | 182 * | | | | | | | +- Output Buffer Full? 183 * | | | | | | +--- Input Buffer Full? 184 * | | | | | +----- <reserved> 185 * | | | | +------- Data Register is Command Byte? 186 * | | | +--------- Burst Mode Enabled? 187 * | | +----------- SCI Event? --- 814 unchanged lines hidden --- |