Deleted Added
full compact
fwohci_pci.c (111075) fwohci_pci.c (111076)
1/*
2 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
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 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 *
1/*
2 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa
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 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
29 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
30 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31 * POSSIBILITY OF SUCH DAMAGE.
32 *
33 * $FreeBSD: head/sys/dev/firewire/fwohci_pci.c 111075 2003-02-18 09:46:52Z simokawa $
33 * $FreeBSD: head/sys/dev/firewire/fwohci_pci.c 111076 2003-02-18 10:01:44Z simokawa $
34 */
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/kernel.h>
39#include <sys/module.h>
40#include <sys/bus.h>
41#include <sys/queue.h>

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

60 * The probe routine.
61 */
62static int
63fwohci_pci_probe( device_t dev )
64{
65#if 1
66 u_int32_t id;
67
34 */
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/kernel.h>
39#include <sys/module.h>
40#include <sys/bus.h>
41#include <sys/queue.h>

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

60 * The probe routine.
61 */
62static int
63fwohci_pci_probe( device_t dev )
64{
65#if 1
66 u_int32_t id;
67
68 id = (pci_get_vendor(dev) << 16) | pci_get_device(dev);
68 id = pci_get_devid(dev);
69 if (id == (FW_VENDORID_NEC | FW_DEVICE_UPD861)) {
70 device_set_desc(dev, "NEC uPD72861");
71 return 0;
72 }
73 if (id == (FW_VENDORID_NEC | FW_DEVICE_UPD871)) {
74 device_set_desc(dev, "NEC uPD72871/2");
75 return 0;
76 }

--- 307 unchanged lines hidden ---
69 if (id == (FW_VENDORID_NEC | FW_DEVICE_UPD861)) {
70 device_set_desc(dev, "NEC uPD72861");
71 return 0;
72 }
73 if (id == (FW_VENDORID_NEC | FW_DEVICE_UPD871)) {
74 device_set_desc(dev, "NEC uPD72871/2");
75 return 0;
76 }

--- 307 unchanged lines hidden ---