Deleted Added
full compact
sio_pci.c (90010) sio_pci.c (92401)
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 90010 2002-01-31 08:24:36Z nyan $
24 * $FreeBSD: head/sys/dev/sio/sio_pci.c 92401 2002-03-16 04:26:46Z 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>

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

69static struct pci_ids pci_ids[] = {
70 { 0x100812b9, "3COM PCI FaxModem", 0x10 },
71 { 0x2000131f, "CyberSerial (1-port) 16550", 0x10 },
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 { 0x0000151f, "SmartLink 5634PCV SurfRider", 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>

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

69static struct pci_ids pci_ids[] = {
70 { 0x100812b9, "3COM PCI FaxModem", 0x10 },
71 { 0x2000131f, "CyberSerial (1-port) 16550", 0x10 },
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 { 0x0000151f, "SmartLink 5634PCV SurfRider", 0x10 },
77 /* { 0xXXXXXXXX, "Xircom Cardbus modem", 0x10 }, */
77 { 0x0103115d, "Xircom Cardbus modem", 0x10 },
78 { 0x00000000, NULL, 0 }
79};
80
81static int
82sio_pci_attach(dev)
83 device_t dev;
84{
85 u_int32_t type;

--- 63 unchanged lines hidden ---
78 { 0x00000000, NULL, 0 }
79};
80
81static int
82sio_pci_attach(dev)
83 device_t dev;
84{
85 u_int32_t type;

--- 63 unchanged lines hidden ---