Deleted Added
full compact
acpi_ibm.c (242305) acpi_ibm.c (246128)
1/*-
2 * Copyright (c) 2004 Takanori Watanabe
3 * Copyright (c) 2005 Markus Brueffer <markus@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

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

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

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_ibm.c 242305 2012-10-29 10:22:00Z bapt $");
29__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_ibm.c 246128 2013-01-30 18:01:20Z sbz $");
30
31/*
32 * Driver for extra ACPI-controlled gadgets found on IBM ThinkPad laptops.
33 * Inspired by the ibm-acpi and tpb projects which implement these features
34 * on Linux.
35 *
36 * acpi-ibm: <http://ibm-acpi.sourceforge.net/>
37 * tpb: <http://www.nongnu.org/tpb/>

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

298
299static device_method_t acpi_ibm_methods[] = {
300 /* Device interface */
301 DEVMETHOD(device_probe, acpi_ibm_probe),
302 DEVMETHOD(device_attach, acpi_ibm_attach),
303 DEVMETHOD(device_detach, acpi_ibm_detach),
304 DEVMETHOD(device_resume, acpi_ibm_resume),
305
30
31/*
32 * Driver for extra ACPI-controlled gadgets found on IBM ThinkPad laptops.
33 * Inspired by the ibm-acpi and tpb projects which implement these features
34 * on Linux.
35 *
36 * acpi-ibm: <http://ibm-acpi.sourceforge.net/>
37 * tpb: <http://www.nongnu.org/tpb/>

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

298
299static device_method_t acpi_ibm_methods[] = {
300 /* Device interface */
301 DEVMETHOD(device_probe, acpi_ibm_probe),
302 DEVMETHOD(device_attach, acpi_ibm_attach),
303 DEVMETHOD(device_detach, acpi_ibm_detach),
304 DEVMETHOD(device_resume, acpi_ibm_resume),
305
306 {0, 0}
306 DEVMETHOD_END
307};
308
309static driver_t acpi_ibm_driver = {
310 "acpi_ibm",
311 acpi_ibm_methods,
312 sizeof(struct acpi_ibm_softc),
313};
314

--- 946 unchanged lines hidden ---
307};
308
309static driver_t acpi_ibm_driver = {
310 "acpi_ibm",
311 acpi_ibm_methods,
312 sizeof(struct acpi_ibm_softc),
313};
314

--- 946 unchanged lines hidden ---