Deleted Added
full compact
sio_pci.c (99739) sio_pci.c (110155)
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_pci.c 99739 2002-07-10 17:26:11Z sobomax $
24 * $FreeBSD: head/sys/dev/sio/sio_pci.c 110155 2003-01-31 21:11:20Z phk $
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>

--- 39 unchanged lines hidden (view full) ---

72 { 0x01101407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
73 { 0x01111407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
74 { 0x048011c1, "Lucent kermit based PCI Modem", 0x14 },
75 { 0x95211415, "Oxford Semiconductor PCI Dual Port Serial", 0x10 },
76 { 0x7101135e, "SeaLevel Ultra 530.PCI Single Port Serial", 0x18 },
77 { 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
78 { 0x0103115d, "Xircom Cardbus modem", 0x10 },
79 { 0x98459710, "Netmos Nm9845 PCI Bridge with Dual UART", 0x10 },
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>

--- 39 unchanged lines hidden (view full) ---

72 { 0x01101407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
73 { 0x01111407, "Koutech IOFLEX-2S PCI Dual Port Serial", 0x10 },
74 { 0x048011c1, "Lucent kermit based PCI Modem", 0x14 },
75 { 0x95211415, "Oxford Semiconductor PCI Dual Port Serial", 0x10 },
76 { 0x7101135e, "SeaLevel Ultra 530.PCI Single Port Serial", 0x18 },
77 { 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
78 { 0x0103115d, "Xircom Cardbus modem", 0x10 },
79 { 0x98459710, "Netmos Nm9845 PCI Bridge with Dual UART", 0x10 },
80 { 0x01c0135c, "Quatech SSCLP-200/300", 0x18
81 /*
82 * NB: You must mount the "SPAD" jumper to correctly detect
83 * the FIFO on the UART. Set the options on the jumpers,
84 * we do not support the extra registers on the Quatech.
85 */
86 },
80 { 0x00000000, NULL, 0 }
81};
82
83static int
84sio_pci_attach(dev)
85 device_t dev;
86{
87 u_int32_t type;

--- 63 unchanged lines hidden ---
87 { 0x00000000, NULL, 0 }
88};
89
90static int
91sio_pci_attach(dev)
92 device_t dev;
93{
94 u_int32_t type;

--- 63 unchanged lines hidden ---