sio.c (51912) | sio.c (51918) |
---|---|
1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/*- 2 * Copyright (c) 1991 The Regents of the University of California. 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 --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/sys/dev/sio/sio.c 51912 1999-10-03 17:50:09Z deischen $ | 33 * $FreeBSD: head/sys/dev/sio/sio.c 51918 1999-10-03 22:25:19Z deischen $ |
34 * from: @(#)com.c 7.5 (Berkeley) 5/16/91 35 * from: i386/isa sio.c,v 1.234 36 */ 37 38#include "opt_comconsole.h" 39#include "opt_compat.h" 40#include "opt_ddb.h" 41#include "opt_sio.h" --- 520 unchanged lines hidden (view full) --- 562#define CLR_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) & ~(bit)) 563 564static struct isa_pnp_id sio_ids[] = { 565 {0x0005d041, "Standard PC COM port"}, /* PNP0500 */ 566 {0x0105d041, "16550A-compatible COM port"}, /* PNP0501 */ 567 {0x0205d041, "Multiport serial device (non-intelligent 16550)"}, /* PNP0502 */ 568 {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */ 569 {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */ | 34 * from: @(#)com.c 7.5 (Berkeley) 5/16/91 35 * from: i386/isa sio.c,v 1.234 36 */ 37 38#include "opt_comconsole.h" 39#include "opt_compat.h" 40#include "opt_ddb.h" 41#include "opt_sio.h" --- 520 unchanged lines hidden (view full) --- 562#define CLR_FLAG(dev, bit) device_set_flags(dev, device_get_flags(dev) & ~(bit)) 563 564static struct isa_pnp_id sio_ids[] = { 565 {0x0005d041, "Standard PC COM port"}, /* PNP0500 */ 566 {0x0105d041, "16550A-compatible COM port"}, /* PNP0501 */ 567 {0x0205d041, "Multiport serial device (non-intelligent 16550)"}, /* PNP0502 */ 568 {0x1005d041, "Generic IRDA-compatible device"}, /* PNP0510 */ 569 {0x1105d041, "Generic IRDA-compatible device"}, /* PNP0511 */ |
570 {0x31307256, "USR3031"}, /* USR3031 */ 571 {0x8024b04e, "SupraExpress 56i Sp V.90"}, | 570 {0x30207256, NULL}, /* USR2030 */ 571 {0x31307256, NULL}, /* USR3031 */ 572 {0x8020b04e, NULL}, /* SUP2080 */ 573 {0x8024b04e, NULL}, /* SUP2480 */ |
572 {0} 573}; 574 575static int 576sioprobe(dev) 577 device_t dev; 578{ 579 static bool_t already_init; --- 2461 unchanged lines hidden --- | 574 {0} 575}; 576 577static int 578sioprobe(dev) 579 device_t dev; 580{ 581 static bool_t already_init; --- 2461 unchanged lines hidden --- |