acpi_toshiba.c (193530) | acpi_toshiba.c (246128) |
---|---|
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 193530 2009-06-05 18:44:36Z jkim $"); | 29__FBSDID("$FreeBSD: head/sys/dev/acpi_support/acpi_toshiba.c 246128 2013-01-30 18:01:20Z sbz $"); |
30 31#include "opt_acpi.h" 32#include <sys/param.h> 33#include <sys/kernel.h> 34#include <sys/module.h> 35#include <sys/bus.h> 36 37#include <contrib/dev/acpica/include/acpi.h> --- 129 unchanged lines hidden (view full) --- 167 {NULL, NULL} 168}; 169 170static device_method_t acpi_toshiba_methods[] = { 171 DEVMETHOD(device_probe, acpi_toshiba_probe), 172 DEVMETHOD(device_attach, acpi_toshiba_attach), 173 DEVMETHOD(device_detach, acpi_toshiba_detach), 174 | 30 31#include "opt_acpi.h" 32#include <sys/param.h> 33#include <sys/kernel.h> 34#include <sys/module.h> 35#include <sys/bus.h> 36 37#include <contrib/dev/acpica/include/acpi.h> --- 129 unchanged lines hidden (view full) --- 167 {NULL, NULL} 168}; 169 170static device_method_t acpi_toshiba_methods[] = { 171 DEVMETHOD(device_probe, acpi_toshiba_probe), 172 DEVMETHOD(device_attach, acpi_toshiba_attach), 173 DEVMETHOD(device_detach, acpi_toshiba_detach), 174 |
175 {0, 0} | 175 DEVMETHOD_END |
176}; 177 178static driver_t acpi_toshiba_driver = { 179 "acpi_toshiba", 180 acpi_toshiba_methods, 181 sizeof(struct acpi_toshiba_softc), 182}; 183 184static devclass_t acpi_toshiba_devclass; 185DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, acpi_toshiba_devclass, 186 0, 0); 187MODULE_DEPEND(acpi_toshiba, acpi, 1, 1, 1); 188 189static device_method_t acpi_toshiba_video_methods[] = { 190 DEVMETHOD(device_probe, acpi_toshiba_video_probe), 191 DEVMETHOD(device_attach, acpi_toshiba_video_attach), 192 | 176}; 177 178static driver_t acpi_toshiba_driver = { 179 "acpi_toshiba", 180 acpi_toshiba_methods, 181 sizeof(struct acpi_toshiba_softc), 182}; 183 184static devclass_t acpi_toshiba_devclass; 185DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, acpi_toshiba_devclass, 186 0, 0); 187MODULE_DEPEND(acpi_toshiba, acpi, 1, 1, 1); 188 189static device_method_t acpi_toshiba_video_methods[] = { 190 DEVMETHOD(device_probe, acpi_toshiba_video_probe), 191 DEVMETHOD(device_attach, acpi_toshiba_video_attach), 192 |
193 {0, 0} | 193 DEVMETHOD_END |
194}; 195 196static driver_t acpi_toshiba_video_driver = { 197 "acpi_toshiba_video", 198 acpi_toshiba_video_methods, 199 0, 200}; 201 --- 366 unchanged lines hidden --- | 194}; 195 196static driver_t acpi_toshiba_video_driver = { 197 "acpi_toshiba_video", 198 acpi_toshiba_video_methods, 199 0, 200}; 201 --- 366 unchanged lines hidden --- |