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