acpi_ibm.c (193530) | acpi_ibm.c (197350) |
---|---|
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 193530 2009-06-05 18:44:36Z jkim $"); | 29__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_ibm.c 197350 2009-09-20 13:28:19Z jhb $"); |
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/> --- 245 unchanged lines hidden (view full) --- 283 sizeof(struct acpi_ibm_softc), 284}; 285 286static devclass_t acpi_ibm_devclass; 287 288DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, acpi_ibm_devclass, 289 0, 0); 290MODULE_DEPEND(acpi_ibm, acpi, 1, 1, 1); | 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/> --- 245 unchanged lines hidden (view full) --- 283 sizeof(struct acpi_ibm_softc), 284}; 285 286static devclass_t acpi_ibm_devclass; 287 288DRIVER_MODULE(acpi_ibm, acpi, acpi_ibm_driver, acpi_ibm_devclass, 289 0, 0); 290MODULE_DEPEND(acpi_ibm, acpi, 1, 1, 1); |
291static char *ibm_ids[] = {"IBM0057", "IBM0068", NULL}; | 291static char *ibm_ids[] = {"IBM0068", NULL}; |
292 293static void 294ibm_led(void *softc, int onoff) 295{ 296 struct acpi_ibm_softc* sc = (struct acpi_ibm_softc*) softc; 297 298 ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__); 299 --- 652 unchanged lines hidden --- | 292 293static void 294ibm_led(void *softc, int onoff) 295{ 296 struct acpi_ibm_softc* sc = (struct acpi_ibm_softc*) softc; 297 298 ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__); 299 --- 652 unchanged lines hidden --- |