Deleted Added
full compact
isp_pci.c (41515) isp_pci.c (41771)
1/* $FreeBSD: head/sys/dev/isp/isp_pci.c 41515 1998-12-05 00:07:04Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/isp_pci.c 41771 1998-12-14 06:37:37Z dillon $ */
2/* isp_pci.c 1.18 */
3/*
4 * PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
5 * FreeBSD Version.
6 *
7 *---------------------------------------
8 * Copyright (c) 1997, 1998 by Matthew Jacob
9 * NASA/Ames Research Center

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

124
125#define PCI_QLOGIC_ISP2100 \
126 ((PCI_PRODUCT_QLOGIC_ISP2100 << 16) | PCI_VENDOR_QLOGIC)
127
128#define IO_MAP_REG 0x10
129#define MEM_MAP_REG 0x14
130
131
2/* isp_pci.c 1.18 */
3/*
4 * PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
5 * FreeBSD Version.
6 *
7 *---------------------------------------
8 * Copyright (c) 1997, 1998 by Matthew Jacob
9 * NASA/Ames Research Center

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

124
125#define PCI_QLOGIC_ISP2100 \
126 ((PCI_PRODUCT_QLOGIC_ISP2100 << 16) | PCI_VENDOR_QLOGIC)
127
128#define IO_MAP_REG 0x10
129#define MEM_MAP_REG 0x14
130
131
132static char *isp_pci_probe __P((pcici_t tag, pcidi_t type));
132static const char *isp_pci_probe __P((pcici_t tag, pcidi_t type));
133static void isp_pci_attach __P((pcici_t config_d, int unit));
134
135/* This distinguishing define is not right, but it does work */
136
137#if __FreeBSD_version < 300004
138#define IO_SPACE_MAPPING 0
139#define MEM_SPACE_MAPPING 1
140typedef int bus_space_tag_t;

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

191 isp_pci_probe,
192 isp_pci_attach,
193 &ispunit,
194 NULL
195};
196DATA_SET (pcidevice_set, isp_pci_driver);
197
198
133static void isp_pci_attach __P((pcici_t config_d, int unit));
134
135/* This distinguishing define is not right, but it does work */
136
137#if __FreeBSD_version < 300004
138#define IO_SPACE_MAPPING 0
139#define MEM_SPACE_MAPPING 1
140typedef int bus_space_tag_t;

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

191 isp_pci_probe,
192 isp_pci_attach,
193 &ispunit,
194 NULL
195};
196DATA_SET (pcidevice_set, isp_pci_driver);
197
198
199static char *
199static const char *
200isp_pci_probe(tag, type)
201 pcici_t tag;
202 pcidi_t type;
203{
204 static int oneshot = 1;
205 char *x;
206
207 switch (type) {

--- 757 unchanged lines hidden ---
200isp_pci_probe(tag, type)
201 pcici_t tag;
202 pcidi_t type;
203{
204 static int oneshot = 1;
205 char *x;
206
207 switch (type) {

--- 757 unchanged lines hidden ---