Deleted Added
full compact
acpi_asus.c (146024) acpi_asus.c (150003)
1/*-
2 * Copyright (c) 2004, 2005 Philip Paeps <philip@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2004, 2005 Philip Paeps <philip@FreeBSD.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 11 unchanged lines hidden (view full) ---

20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_asus.c 146024 2005-05-09 12:51:48Z philip $");
28__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_asus.c 150003 2005-09-11 18:39:03Z obrien $");
29
30/*
31 * Driver for extra ACPI-controlled gadgets (hotkeys, leds, etc) found on
32 * recent Asus (and Medion) laptops. Inspired by the acpi4asus project which
33 * implements these features in the Linux kernel.
34 *
35 * <http://sourceforge.net/projects/acpi4asus/>
36 *

--- 5 unchanged lines hidden (view full) ---

42
43#include "opt_acpi.h"
44#include <sys/param.h>
45#include <sys/kernel.h>
46#include <sys/module.h>
47#include <sys/bus.h>
48#include <sys/sbuf.h>
49
29
30/*
31 * Driver for extra ACPI-controlled gadgets (hotkeys, leds, etc) found on
32 * recent Asus (and Medion) laptops. Inspired by the acpi4asus project which
33 * implements these features in the Linux kernel.
34 *
35 * <http://sourceforge.net/projects/acpi4asus/>
36 *

--- 5 unchanged lines hidden (view full) ---

42
43#include "opt_acpi.h"
44#include <sys/param.h>
45#include <sys/kernel.h>
46#include <sys/module.h>
47#include <sys/bus.h>
48#include <sys/sbuf.h>
49
50#include "acpi.h"
50#include <contrib/dev/acpica/acpi.h>
51#include <dev/acpica/acpivar.h>
52#include <dev/led/led.h>
53
54/* Methods */
55#define ACPI_ASUS_METHOD_BRN 1
56#define ACPI_ASUS_METHOD_DISP 2
57#define ACPI_ASUS_METHOD_LCD 3
58

--- 852 unchanged lines hidden ---
51#include <dev/acpica/acpivar.h>
52#include <dev/led/led.h>
53
54/* Methods */
55#define ACPI_ASUS_METHOD_BRN 1
56#define ACPI_ASUS_METHOD_DISP 2
57#define ACPI_ASUS_METHOD_LCD 3
58

--- 852 unchanged lines hidden ---