Deleted Added
full compact
bt_isa.c (47617) bt_isa.c (47717)
1/*
2 * Product specific probe and attach routines for:
3 * Buslogic BT-54X and BT-445 cards
4 *
5 * Copyright (c) 1998, 1999 Justin T. Gibbs
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
1/*
2 * Product specific probe and attach routines for:
3 * Buslogic BT-54X and BT-445 cards
4 *
5 * Copyright (c) 1998, 1999 Justin T. Gibbs
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

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

21 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $Id: bt_isa.c,v 1.12 1999/05/22 15:45:47 dfr Exp $
29 * $Id: bt_isa.c,v 1.13 1999/05/30 11:10:10 dfr Exp $
30 */
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/kernel.h>
35#include <sys/module.h>
36#include <sys/bus.h>
37

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

159 if (bt_isa_alloc_resources(dev, ioport,
160 ioport + BT_NREGS -1) != 0)
161 continue;
162
163 /* We're going to attempt to probe it now, so mark it probed */
164 bt_mark_probed_bio(port_index);
165
166 if (bt_port_probe(dev, &info) != 0) {
30 */
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/kernel.h>
35#include <sys/module.h>
36#include <sys/bus.h>
37

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

159 if (bt_isa_alloc_resources(dev, ioport,
160 ioport + BT_NREGS -1) != 0)
161 continue;
162
163 /* We're going to attempt to probe it now, so mark it probed */
164 bt_mark_probed_bio(port_index);
165
166 if (bt_port_probe(dev, &info) != 0) {
167 printf("bt_isa_probe: Probe failed for card at 0x%x\n",
168 ioport);
167 if (bootverbose)
168 printf("bt_isa_probe: Probe failed at 0x%x\n",
169 ioport);
169 bt_isa_release_resources(dev);
170 continue;
171 }
172
173 bt_isa_release_resources(dev);
174
175 ISA_SET_RESOURCE(device_get_parent(dev), dev,
176 SYS_RES_DRQ, 0, info.drq, 1);

--- 167 unchanged lines hidden ---
170 bt_isa_release_resources(dev);
171 continue;
172 }
173
174 bt_isa_release_resources(dev);
175
176 ISA_SET_RESOURCE(device_get_parent(dev), dev,
177 SYS_RES_DRQ, 0, info.drq, 1);

--- 167 unchanged lines hidden ---