uart_bus_acpi.c (242583) | uart_bus_acpi.c (246243) |
---|---|
1/*- 2 * Copyright (c) 2001 M. Warner Losh. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2001 M. Warner Losh. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#include <sys/cdefs.h> |
26__FBSDID("$FreeBSD: head/sys/dev/uart/uart_bus_acpi.c 242583 2012-11-04 20:50:23Z eadler $"); | 26__FBSDID("$FreeBSD: head/sys/dev/uart/uart_bus_acpi.c 246243 2013-02-02 11:38:26Z avg $"); |
27 28#include <sys/param.h> 29#include <sys/systm.h> 30#include <sys/bus.h> 31#include <sys/conf.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34#include <machine/bus.h> --- 7 unchanged lines hidden (view full) --- 42 43static int uart_acpi_probe(device_t dev); 44 45static device_method_t uart_acpi_methods[] = { 46 /* Device interface */ 47 DEVMETHOD(device_probe, uart_acpi_probe), 48 DEVMETHOD(device_attach, uart_bus_attach), 49 DEVMETHOD(device_detach, uart_bus_detach), | 27 28#include <sys/param.h> 29#include <sys/systm.h> 30#include <sys/bus.h> 31#include <sys/conf.h> 32#include <sys/kernel.h> 33#include <sys/module.h> 34#include <machine/bus.h> --- 7 unchanged lines hidden (view full) --- 42 43static int uart_acpi_probe(device_t dev); 44 45static device_method_t uart_acpi_methods[] = { 46 /* Device interface */ 47 DEVMETHOD(device_probe, uart_acpi_probe), 48 DEVMETHOD(device_attach, uart_bus_attach), 49 DEVMETHOD(device_detach, uart_bus_detach), |
50 DEVMETHOD(device_resume, uart_bus_resume), |
|
50 { 0, 0 } 51}; 52 53static driver_t uart_acpi_driver = { 54 uart_driver_name, 55 uart_acpi_methods, 56 sizeof(struct uart_softc), 57}; --- 31 unchanged lines hidden --- | 51 { 0, 0 } 52}; 53 54static driver_t uart_acpi_driver = { 55 uart_driver_name, 56 uart_acpi_methods, 57 sizeof(struct uart_softc), 58}; --- 31 unchanged lines hidden --- |