Deleted Added
full compact
acpi_ec.c (133617) acpi_ec.c (139339)
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>
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 133617 2004-08-13 06:21:53Z njl $");
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 * +-+-+-+-+-+-+-+-+
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|
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 ---
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 ---