Deleted Added
full compact
acpi_toshiba.c (126517) acpi_toshiba.c (128036)
1/*-
2 * Copyright (c) 2003 Hiroyuki Aizu <aizu@navi.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

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

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
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003 Hiroyuki Aizu <aizu@navi.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

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

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
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_toshiba.c 126517 2004-03-03 03:02:17Z njl $");
29__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_toshiba.c 128036 2004-04-08 16:45:12Z njl $");
30
31#include "opt_acpi.h"
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/bus.h>
35
36#include "acpi.h"
37#include <dev/acpica/acpivar.h>

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

167 "acpi_toshiba",
168 acpi_toshiba_methods,
169 sizeof(struct acpi_toshiba_softc),
170};
171
172static devclass_t acpi_toshiba_devclass;
173DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, acpi_toshiba_devclass,
174 0, 0);
30
31#include "opt_acpi.h"
32#include <sys/param.h>
33#include <sys/kernel.h>
34#include <sys/bus.h>
35
36#include "acpi.h"
37#include <dev/acpica/acpivar.h>

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

167 "acpi_toshiba",
168 acpi_toshiba_methods,
169 sizeof(struct acpi_toshiba_softc),
170};
171
172static devclass_t acpi_toshiba_devclass;
173DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, acpi_toshiba_devclass,
174 0, 0);
175MODULE_DEPEND(acpi_toshiba, acpi, 100, 100, 100);
175MODULE_DEPEND(acpi_toshiba, acpi, 1, 1, 1);
176
177static int enable_fn_keys = 1;
178TUNABLE_INT("hw.acpi.toshiba.enable_fn_keys", &enable_fn_keys);
179
180/*
181 * HID Model
182 * -------------------------------------
183 * TOS6200 Libretto L Series

--- 297 unchanged lines hidden ---
176
177static int enable_fn_keys = 1;
178TUNABLE_INT("hw.acpi.toshiba.enable_fn_keys", &enable_fn_keys);
179
180/*
181 * HID Model
182 * -------------------------------------
183 * TOS6200 Libretto L Series

--- 297 unchanged lines hidden ---