sio_isa.c (86545) | sio_isa.c (86909) |
---|---|
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. --- 7 unchanged lines hidden (view full) --- 16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 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 * | 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. --- 7 unchanged lines hidden (view full) --- 16 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 17 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 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 * $FreeBSD: head/sys/dev/sio/sio_isa.c 86545 2001-11-18 16:39:09Z iedowse $ | 24 * $FreeBSD: head/sys/dev/sio/sio_isa.c 86909 2001-11-26 07:39:51Z imp $ |
25 */ 26 27#include <sys/param.h> 28#include <sys/systm.h> 29#include <sys/bus.h> 30#include <sys/conf.h> 31#include <sys/kernel.h> 32#include <sys/lock.h> 33#include <sys/malloc.h> 34#include <sys/mutex.h> 35#include <sys/module.h> 36#include <sys/tty.h> | 25 */ 26 27#include <sys/param.h> 28#include <sys/systm.h> 29#include <sys/bus.h> 30#include <sys/conf.h> 31#include <sys/kernel.h> 32#include <sys/lock.h> 33#include <sys/malloc.h> 34#include <sys/mutex.h> 35#include <sys/module.h> 36#include <sys/tty.h> |
37#include <machine/clock.h> | |
38#include <machine/bus_pio.h> 39#include <machine/bus.h> 40#include <sys/timepps.h> 41 42#include <dev/sio/siovar.h> 43 44#include <isa/isareg.h> 45#include <isa/isavar.h> --- 7 unchanged lines hidden (view full) --- 53 DEVMETHOD(device_attach, sio_isa_attach), 54 55 { 0, 0 } 56}; 57 58static driver_t sio_isa_driver = { 59 sio_driver_name, 60 sio_isa_methods, | 37#include <machine/bus_pio.h> 38#include <machine/bus.h> 39#include <sys/timepps.h> 40 41#include <dev/sio/siovar.h> 42 43#include <isa/isareg.h> 44#include <isa/isavar.h> --- 7 unchanged lines hidden (view full) --- 52 DEVMETHOD(device_attach, sio_isa_attach), 53 54 { 0, 0 } 55}; 56 57static driver_t sio_isa_driver = { 58 sio_driver_name, 59 sio_isa_methods, |
61 sizeof(struct com_s), | 60 0, |
62}; 63 64static struct isa_pnp_id sio_ids[] = { 65 {0x0005d041, "Standard PC COM port"}, /* PNP0500 */ 66 {0x0105d041, "16550A-compatible COM port"}, /* PNP0501 */ 67 {0x0205d041, "Multiport serial device (non-intelligent 16550)"}, /* PNP0502 */ 68 {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */ 69 {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */ --- 94 unchanged lines hidden --- | 61}; 62 63static struct isa_pnp_id sio_ids[] = { 64 {0x0005d041, "Standard PC COM port"}, /* PNP0500 */ 65 {0x0105d041, "16550A-compatible COM port"}, /* PNP0501 */ 66 {0x0205d041, "Multiport serial device (non-intelligent 16550)"}, /* PNP0502 */ 67 {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */ 68 {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */ --- 94 unchanged lines hidden --- |